Skip to main content

oklch_hue

Function oklch_hue 

Source
pub fn oklch_hue(hex: &str) -> Option<f64>
Expand description

The OKLCH hue, in degrees 0 to 360, of a #rrggbb; None for anything else. A grey has no hue worth snapping by: snap_hex reads it as Black or White.