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