colours 0.1.1

Color types for different color models with conversions between it.
Documentation
  • Coverage
  • 54.39%
    31 out of 57 items documented0 out of 0 items with examples
  • Size
  • Source code size: 21.77 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.21 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • katyo/colours-rs
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • katyo

Color types with conversions

This library implements color types for some widely used color models such as RGB, HSL, HSV and variants with alpha channel. The support for other models may be added in future.

Each type parameterized using channel type: u8 or f32. The channel value range for u8 is from 0 to 255, and for f32 is from 0.0 to 1.0.