Function colstodian::color::srgba [−][src]
pub fn srgba<A: AlphaState>(
r: f32,
g: f32,
b: f32,
a: f32
) -> ColorAlpha<EncodedSrgb, A>
Expand description
Creates a ColorAlpha
in the EncodedSrgb
color space with components r
, g
, b
, and a
.