Docs.rs
material-colors-0.3.3
material-colors 0.3.3
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
Aiving
Dependencies
ahash ^0.8.11
normal
image ^0.25.1
normal
optional
indexmap ^2.2.6
normal
serde ^1.0.203
normal
optional
float-cmp ^0.9
dev
image ^0.25.1
dev
reqwest ^0.12.4
dev
tokio ^1.37.0
dev
Versions
20.24%
of the crate is documented
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
material_colors
0.3.3
Module color
Structs
Constants
Functions
In crate material_colors
Module
material_colors
::
color
Copy item path
source
·
[
−
]
Structs
§
Argb
ARGB representation of color. Can be created using
Argb::new
,
Argb::from_u32
or
from_str
.
Lab
LinearRgb
Rgb
Xyz
Constants
§
SRGB_TO_XYZ
WHITE_POINT_D65
XYZ_TO_SRGB
Functions
§
delinearized
Delinearizes an Rgb component.
linearized
Linearizes an Rgb component.
lstar_from_y
Converts a Y value to an L* value.
y_from_lstar
Converts an L* value to a Y value.