Function piston_window::color::grey

source ·
pub fn grey(f: f32) -> [f32; 4]
Expand description

Returns a grey color

Arguments

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