Type Definition nannou_core::color::Rgba[][src]

type Rgba<S = DefaultScalar> = Srgba<S>;
Expand description

The same as Rgb, but with an alpha value representing opacity.

This type is an alias for the Srgba type, a type that represents the sRGB color space alongside an alpha value.

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