pub const fn rgb(r: f32, g: f32, b: f32) -> AlphaColor<Srgb>Expand description
Construct an AlphaColor<Srgb> from rgb f32, the alpha value will be 1.0
pub const fn rgb(r: f32, g: f32, b: f32) -> AlphaColor<Srgb>Construct an AlphaColor<Srgb> from rgb f32, the alpha value will be 1.0