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