Function colstodian::color::srgb[][src]

pub fn srgb(r: f32, g: f32, b: f32) -> Color<EncodedSrgb, Display>
Expand description

Creates a Color in the EncodedSrgb color space with components r, g, and b.