Conversion is always supported between any pair of valid color types.
Colour types usually implement only direct conversion between their immediate 'parent' color type.
In the case of distantly related colors, convertColor will follow a conversion path via
intermediate representations such that it is able to perform the conversion.
For instance, a conversion from HSV to Lab necessary follows the conversion path: HSV -> RGB -> XYZ -> Lab.
Convert between color types.
Conversion is always supported between any pair of valid color types. Colour types usually implement only direct conversion between their immediate 'parent' color type. In the case of distantly related colors, convertColor will follow a conversion path via intermediate representations such that it is able to perform the conversion.
For instance, a conversion from HSV to Lab necessary follows the conversion path: HSV -> RGB -> XYZ -> Lab.