Function deviate
pub fn deviate(color: Color, amount: f32) -> ColorExpand description
Deviates a [Color] by the given factor. Lightens if the [Color] is
dark, darkens otherwise.
pub fn deviate(color: Color, amount: f32) -> ColorDeviates a [Color] by the given factor. Lightens if the [Color] is
dark, darkens otherwise.