Construct a color from hsx components.
Construct a color from hsx components.
Type of the s and x components.
Type of the s and x components.
Type of the hue components.
Type of the hue components.
Cast to other color types.
The parent RGB color space.
Get hue angle in degrees.
Set hue angle in degrees.
Get hue angle in radians.
Set hue angle in radians.
The parent RGB color space descriptor.
The color type from the HSx family.
Type for the color channels. May be unsigned integer or floating point type.
Color will be within the specified RGB color space.
// HSV color with float components alias HSVf = HSV!float; HSVf c = HSVf(3.1415, 1, 0.5); // test HSV operators and functions
// HSL color with float components alias HSLf = HSL!float; HSLf c = HSLf(3.1415, 1, 0.5); // test HSL operators and functions
// HSI color with float components alias HSIf = HSI!float; HSIf c = HSIf(3.1415, 1, 0.5); // test HSI operators and functions
// HCY color with float components alias HCYf = HCY!float; HCYf c = HCYf(3.1415, 1, 0.5); // test HCY operators and functions
HSx color space is used to describe a suite of angular color spaces including HSL, HSV, HSI, HCY.