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

pub fn grayscale(p: f32) -> Color
Expand description

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