Represents a type that maps a ColorSpace to its corresponding color model.
This type alias allows for conditional extraction of a specific color model
based on the provided ColorSpace type parameter. Supported color spaces
include 'rgb', 'xyz', 'hsl', 'hsv', 'hwb', 'lab', 'lch', 'oklab',
'oklch', 'jzazbz', and 'jzczhz'. If a provided color space does not match
one of these, the type resolves to never.
Represents a type that maps a
ColorSpace
to its corresponding color model.This type alias allows for conditional extraction of a specific color model based on the provided
ColorSpace
type parameter. Supported color spaces include 'rgb', 'xyz', 'hsl', 'hsv', 'hwb', 'lab', 'lch', 'oklab', 'oklch', 'jzazbz', and 'jzczhz'. If a provided color space does not match one of these, the type resolves tonever
.