Creates a new RGB ColorSpace.
If coords are not specified, they will use the default RGB coords.
Instead of fromBase() and toBase() functions,
you can specify to/from XYZ matrices and have the default toBase() and fromBase()
methods use them via this.M.toXYZ and this.M.fromXYZ.
OptionalaliasesThis space's ancestors, ordered closest first (immediate base → root), excluding this space
OptionaldisplaySpaces to try when serializing for display and this space is not natively supported
OptionallinearMatrices relevant to this color space, keyed by a descriptive name
OptionalreferredOptionalrgbStaticDEFAULT_StaticregistryThe ID used by CSS, such as display-p3 or --cam16-jmh
StaticallOptionalformat: string | SpaceFormat | FormatOptionaloptions: { Optionalepsilon?: numberStaticfindOptionalspaces: Space[]StaticgetStaticregisterStaticresolve
Convenience class for RGB color spaces