chromashift 0.0.8

A library for converting between various color formats and color spaces.
Documentation

chromashift

A library for converting between various color formats and color spaces.

📖 Full Documentation

Features

  • RGB/sRGB: Standard RGB with optional alpha channel
  • HSL: Hue, Saturation, Lightness with intuitive manipulation
  • HSV/HSB: Hue, Saturation, Value/Brightness for color pickers
  • HWB: Hue, Whiteness, Blackness as specified in CSS Color Level 4
  • LAB: Perceptually uniform CIE Lab* color space
  • LCH: Lightness, Chroma, Hue cylindrical representation of LAB
  • XYZ: CIE XYZ tristimulus values for device-independent color

Optional Features

  • anstyle - Enables converting to anstyle.

Part of csskit

This crate is part of the csskit project, a comprehensive CSS toolchain.

For more information, visit csskit.rs.

License

MIT