color_models library
A set of classes representing the CMYK, HSI, HSL, HSP, HSB, LAB, Oklab, RGB, and XYZ color spaces with methods to convert colors between each space.
Classes
- CmykColor
- A color in the CMYK color space.
- ColorConverter
- A utility class with color conversion methods to and from RGB for each color model included in this package.
- ColorModel
- The base color model class.
- HsbColor
- A color in the hsb (HSB) color space.
- HsiColor
- A color in the HSI color space.
- HslColor
- A color in the HSL color space.
- HspColor
- A color in the HSP color space.
- LabColor
- A color in the CIELAB color space.
- OklabColor
- A color in the Oklab color space.
- RgbColor
- A color in the sRGB color space.
- XyzColor
- A color in the CIEXYZ color space.
Enums
- ColorSpace
- An enumeration representing the color spaces defined in this package.