Function style::color::convert::orthogonal_to_polar
source ยท pub fn orthogonal_to_polar(from: &ColorComponents, e: f32) -> ColorComponents
Expand description
Convert from the rectangular orthogonal to the cylindrical polar coordinate system. This is used to convert (ok)lab to (ok)lch. https://drafts.csswg.org/css-color-4/#lab-to-lch