#colors #converter #rgb

colorskill

Some useful color manipulation functions

9 stable releases

1.1.3 Aug 31, 2019
1.0.4 Aug 31, 2019
1.0.3 Aug 30, 2019

#776 in Rust patterns

40 downloads per month

MIT license

28KB
532 lines

Latest Version Documentation

This is a library with some RGB color manipulation functions.

It includes some public functions, which can be used on their own, or used with the provided RGB struct.

  • Get a color by name
  • Make a color lighter
  • Make a color darker
  • Get a random color
  • Parse color strings
  • Get color hue degrees
  • Get color saturation %
  • Get color lightness %
  • Return string versions

Refer to the documentation for details.

Dependencies

~435KB