Structsยง
- A98Rgb
- ๐ The Adobe RGB (1998) color space.
- Aces2065_
1 - ๐ The ACES2065-1 color space.
- AcesCg
- ๐ The ACEScg color space.
- Display
P3 - ๐ The Display P3 color space, often used for wide-gamut displays.
- Hsl
- ๐ The HSL color space
- Hwb
- ๐ The HWB color space
- Lab
- ๐ The CIELAB color space
- Lch
- ๐ The cylindrical version of the Lab color space.
- Linear
Srgb - ๐ The linear-light RGB color space with sRGB primaries.
- Oklab
- ๐ The Oklab color space, intended to be a perceptually uniform color space.
- Oklch
- ๐ The cylindrical version of the Oklab color space.
- Prophoto
Rgb - ๐ The ProPhoto RGB color space.
- Rec2020
- ๐ The Rec. 2020 color space.
- Srgb
- ๐ The standard RGB color space.
- XyzD50
- ๐ The CIE XYZ color space with a 2ยฐ observer and a reference white of D50.
- XyzD65
- ๐ The CIE XYZ color space with a 2ยฐ observer and a reference white of D65.
Enumsยง
- Color
Space Layout - The layout of a color space, particularly the hue component.
Constantsยง
- EPSILON ๐
- KAPPA ๐
- LAB_
SRGB_ ๐TO_ XYZ - LAB_
XYZ_ ๐TO_ SRGB - OKLAB_
LAB_ ๐TO_ LMS - OKLAB_
LMS_ ๐TO_ LAB - OKLAB_
LMS_ ๐TO_ SRGB - OKLAB_
SRGB_ ๐TO_ LMS
Traitsยง
- Color
Space - The main trait for color spaces.
Functionsยง
- hsl_
to_ ๐rgb - Convert HSL to RGB.
- hwb_
to_ ๐rgb - Convert HWB to RGB.
- lab_
to_ ๐lch - Rectangular to cylindrical conversion.
- lch_
to_ ๐lab - Cylindrical to rectangular conversion.
- lin_
to_ ๐srgb - rgb_
to_ ๐hsl - Convert RGB to HSL.
- rgb_
to_ ๐hwb - Convert RGB to HWB.
- srgb_
to_ ๐lin