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.
Optional
aliasesOptional
fromOptional
referredOptional
toStatic
DEFAULT_Static
registryThe ID used by CSS, such as display-p3
or --cam16-jmh
Static
allOptional
format: string | SpaceFormat | defaultOptional
options: { Optional
epsilon?: numberStatic
findOptional
spaces: Space[]Static
getStatic
registerStatic
resolve
Convenience class for RGB color spaces