Docs.rs
chroma-rust-0.1.6
chroma-rust 0.1.6
Permalink
Docs.rs crate page
MIT
Links
Crates.io
Source
Owners
JiatLn
Dependencies
lazy_static ^1.4.0
normal
rand ^0.8.3
normal
Versions
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate chroma_rust
Version 0.1.6
All Items
Structs
Functions
?
Crate
chroma_rust
source
·
[
−
]
Structs
Chroma
Color
Color is a struct that represents a color in RGBA format.
Functions
distance
Calc simple Euclidean distance between two colors with the same mode
random
Generate a random color.
valid
Checking if a color can be parsed by chroma-rust