cosmic::cosmic_theme::steps

Function steps

source
pub fn steps<C>(c: C, len: NonZero<usize>) -> Vec<Alpha<Rgb, f32>>
where Alpha<Oklch, f32>: FromColor<C>,
Expand description

Get an array of 100 colors with a specific hue and chroma over the full range of lightness. Colors which are not valid Srgba will fallback to a color with the nearest valid chroma.