chromatica 1.0.1

The simplest possible compile-time color definitions.
Documentation
  • Coverage
  • 0.69%
    1 out of 145 items documented0 out of 0 items with examples
  • Size
  • Source code size: 11.02 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.48 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
  • icefoxen/chromatic
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • icefoxen

chromatica

Simple compile-time colors for Rust. Implements the CSS color space as named constants. Doesn't have any run-time information about them. I wanted the most bone-simple setup, so I made it.

Similar crates:

  • tint -- Use this if you want string-to-color conversions.
  • palette -- Use this if you want lots of color space conversions and such.
  • scarlet -- Similar to palette.