Transform Color Space
Description
Allows to transform the current object into a different color space, if possible.
Usage
CIELAB.to(to, fixup=True)
Arguments
-
tostr -
Name of the color space into which the colors should be converted (e.g.,
CIEXYZ,HCL,hex,RGB, …) -
fixupbool - Whether or not colors outside the defined rgb color space should be corrected if necessary, defaults to True.
Return
No return, converts the object into a new color space and modifies the underlying object. After calling this method the object will be of a different class.