[−][src]Trait amethyst_rendy::palette::rgb::Primaries
Represents the red, green and blue primaries of an RGB space.
Required methods
fn red<Wp, T>() -> Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
Wp: WhitePoint,
Primary red.
fn green<Wp, T>() -> Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
Wp: WhitePoint,
Primary green.
fn blue<Wp, T>() -> Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
Wp: WhitePoint,
Primary blue.