Types
{ cyan : Basics.Float
, magenta : Basics.Float
, yellow : Basics.Float
, black : Basics.Float
}
Type wrapping possible color spaces.
{ hue : Basics.Float
, saturation : Basics.Float
, lightness : Basics.Float
, alpha : Basics.Float
}
HSLA where the Hue, Saturation, Lightness and Alpha 0..1.
{ hueDegrees : Basics.Float
, saturation : Basics.Float
, lightness : Basics.Float
, alpha : Basics.Float
}
HSLA where the Hue is 0..360, ann Saturation, Lightness and Alpha 0..1.
{ lightness : Basics.Float
, labA : Basics.Float
, labB : Basics.Float
}
Possible color spaces.
{ red : Basics.Int
, green : Basics.Int
, blue : Basics.Int
, alpha : Basics.Float
}
RGBA color space where numbers are RGB are 1-255, and Alpha 0..1.
{ red : Basics.Float
, green : Basics.Float
, blue : Basics.Float
, alpha : Basics.Float
}
RGBA color space where numbers are RGB and Alpha 0..1.
{ luminance : Basics.Float
, chroma : Basics.Float
, hue : Basics.Float
}
LCH where Luminance is 0..100, Chroma is 0..230, and Hue is 0..360.