AbstractStaticfromCreate a color from its components.
Internally uses the <ColorSpaceClass>.fromComponents() method.
The color space name.
The color components.
The new color.
StatictoConvert a color to the given color space.
Internally uses the <ColorSpaceClass>.fromXyz() method.
The new color.
General factory methods using color space names. This class is heavy weight since it must import all color spaces, and thus it also prevents efficient tree-shaking.