rand_color
Unified random color generation across color spaces.
Currently supports:
rgbviarand_rgbhslviarand_hsl
Install
Optional serde support for all re-exported crates:
Usage
let rgb = random_color;
let hsl = random_hsl;
assert!;
assert!;
Migration from rand_rgb
rand_rgb remains available and maintained. For multi-space projects, prefer importing via rand_color::rgb so adding other spaces later is straightforward.