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 toBase() and fromBase() automatically generated.
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
OptionalfromOptionallinearOptionalreferredOptionalrgbOptionaltoStaticDEFAULT_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