Skip to main content

light_to_hsv

Function light_to_hsv 

Source
pub fn light_to_hsv(light_data: &LightData) -> (Hsv, bool)
Expand description

Given a LightData reference from an ESP light, returns the HSV version and whether it is colored or not (for the global modifier).