[][src]Function nannou::ui::color::greyscale

pub fn greyscale(p: f32) -> Color

Produce a gray based on the input. 0.0 is white, 1.0 is black.