Registry / utility / palette

palette

JSON →
library0.7.6rscratesunverified

Convert and manage colors with a focus on correctness, flexibility and ease of use.

# Cargo.toml [dependencies] palette = "0.7.6"
INSTALL
IMPORT
SIG · PALETTE
P
palette
utilityrustv0.7.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Srgb
use palette::Srgb;

Create an sRGB color and convert to linear space.

use palette::Srgb; fn main() { let red: Srgb = Srgb::new(1.0, 0.0, 0.0); let linear = red.into_linear(); println!("{:?}", linear); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
palette — cargo add palette · libregistry