type Gray<S = DefaultScalar> = Srgb<S>;
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
palette crate’s generic