Crate kolorwheel
source ·Expand description
What is it?
This crate is designed to make it easy to create palettes for GUI applications.
With a slightly different API, for a slightly different platform: KolorWheel.js
The way of creating a palette is to specify a base color and some parameters that modifies the H, S, L values in the given spin mode and steps.
Full documentation is available at the project’s GitHub page: KolorWheel.rs
Thanks to H2CO3 for review and support!
Structs
- HSL representation of a color
- The color wheel object, which emits series of
HslColor
color objects upon spin - RGB representation of a color, which can be implicitly converted (
From/Into
) toRgbColor
Enums
- Possible errors when parsing
HslColor
from hex&str
- Shortcuts for some common transformations
- Change modes to be applied on H/S/L channels