Expand description
Color utilities.
Re-exports§
Modules§
Structs§
Traits§
Functions§
- hue_deg
- Return hue in [0, 360). Returns
Noneif color is monochrome (grayscale). - hue_
luminance_ custom - Given a hue in [0, 360) and luminance [0, 100], return the RGB value.
- hue_
to_ rgb - Give a fully saturated RGB value for the given hue
- luminance_
custom - Returns luminance value from 0.0-100.0 with custom chroma bias.
- normalize_
rgb - Convert RGB8 to values in [0.0, 1.0]
- normalize_
rgba - Convert RGBA8 to values in [0.0, 1.0]
- quantize_
rgb - Convert normalized to values to RGB8
- quantize_
rgba - Convert normalized to values to RGBA8
- report_
sizes