pub trait Hue: GetHue {
fn with_hue<H: Into<Self::Hue>>(&self, hue: H) -> Self;
fn shift_hue<H: Into<Self::Hue>>(&self, amount: H) -> Self;
}
Expand description
A trait for colors where the hue can be manipulated without conversion.
Required Methods
Return a new copy of self
, but with a specific hue.