random_color icon indicating copy to clipboard operation
random_color copied to clipboard

⚙️🎨 Rust crate for generating random attractive colors

Results 8 random_color issues
Sort by recently updated
recently updated
newest added

I'm creating an instance with a `.seed(0)` because I want to get random colors, but I want the sequence to be consistent between reruns. This is what seed is usually...

Add support for: - [`rgb`](https://crates.io/crates/rgb) - [`palette`](https://crates.io/crates/palette) - [`ecolor`](https://crates.io/crates/ecolor)

Just as the title says, support using the rgb crate (https://lib.rs/crates/rgb) instead of it's own custom RGB struct.

Should support iteartor for different outputs (rgba, hsv, etc) and if possible also for different crates.

Currently random_color doesnt support wasm because it relies on Rand which relies on getrandom which has a wasm feature that is disabled by default. This PR adds a wasm feature...

This adds a generic `R` to `RandomColor`, which defaults to `SmallRng`, which lets users plug in their RNG of choise. This is particularly important to games that want to save...