Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csskit/csskit
/ from
Method
from
crates/chromashift/src/lib.rs:208–210 ·
view source on GitHub ↗
(c: A98Rgb)
Source
from the content-addressed store, hash-verified
206
207
impl From<A98Rgb> for Color {
208
fn from(c: A98Rgb) -> Self {
209
Color::A98Rgb(c)
210
}
211
}
212
impl From<DisplayP3> for Color {
213
fn from(c: DisplayP3) -> Self {
Callers
nothing calls this directly
Calls
14
A98Rgb
Class · 0.85
DisplayP3
Class · 0.85
Hsl
Class · 0.85
Hwb
Class · 0.85
Lab
Class · 0.85
Lch
Class · 0.85
LinearRgb
Class · 0.85
Oklab
Class · 0.85
Oklch
Class · 0.85
ProphotoRgb
Class · 0.85
Rec2020
Class · 0.85
Srgb
Class · 0.85
Tested by
no test coverage detected