color-lib 0.1.0

A library for implementing colors and converting between different representations. Includes a library easy access default colors.
Documentation
  • Coverage
  • 90%
    36 out of 40 items documented0 out of 18 items with examples
  • Size
  • Source code size: 44.99 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.24 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • RasmusBruhn

This library implements the color representations RGB, HSV, HSL, and HSI with functions to convert between each type of representations. It also implements the Color trait and ColorMap trait which can be used to define custom colors and color maps.

This library is made to help implement colors in other libraries like plotting or other visualization libraries with shortcuts for common color maps in the "colors" and "maps" module.