deviate

Function deviate 

pub fn deviate(color: Color, amount: f32) -> Color
Expand description

Deviates a [Color] by the given factor. Lightens if the [Color] is dark, darkens otherwise.