OptionalaliasesOptionalbaseOptionalcoordsObject mapping coord ids to coord metadata
OptionalcssThe ID used by CSS, such as display-p3 or --cam16-jmh
OptionaldisplaySpaces to try if not natively supported, if different from base chain.
OptionalformatsDetails about string formats to parse from / serialize to
OptionalfromFunction that converts coords in the base color space to coords in this color space. Must perform chromatic adaptation if needed
OptionalgamutId of this space, used in things such as conversions
OptionallinearOptionalMMatrices relevant to this color space, keyed by a descriptive name. Exposed on the resulting space as ColorSpace.M so that consumer code can reuse them instead of duplicating the data.
The readable name of the space, used in user-facing UI
OptionalreferredOptionalrgbOptionaltoFunction that converts coords in this color space to coords in the base color space. Must perform chromatic adaptation if needed
OptionalwhiteOptionalε
The base color space