Type Definition nannou::color::Gray [−][src]
type Gray<S = f32> = Rgb<Srgb, S>;
Expand description
A color represented as gray intensity.
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.