Type Definition nannou::color::Rgb[][src]

type Rgb<S = f32> = Rgb<Srgb, S>;
Expand description

A color represented as red, green and blue intensities.

This type is an alias for the Srgb type, a type that represents the sRGB color space.

If you are looking for more advanced control over the RGB space and component type, please see the palette crate’s generic Rgb type.