Function rmenu::color::grayscale [] [src]

pub fn grayscale(p: f32) -> Color

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