Function graphics::color::grey

source ·
pub fn grey(f: ColorComponent) -> Color
Expand description

Returns a grey color

§Arguments

  • f - The brightness of the color. 0.0 is black, 1.0 is white