chromashift

Crates.iochromashift
lib.rschromashift
version0.0.15-canary.9f676bde6e
created_at2025-09-07 07:32:12.36217+00
updated_at2026-01-26 00:56:53.411921+00
descriptionA library for converting between various color formats and color spaces.
homepagehttps://csskit.rs
repositoryhttps://github.com/csskit/csskit
max_upload_size
id1827889
size99,500
Keith Cirkel (keithamus)

documentation

README

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

Commit count: 1011

cargo fmt