smart_led_effects 0.1.8

A collection of effects for LED strips
Documentation
1
2
3
4
5
use palette::{FromColor, Hsv, Srgb};

pub fn srgbu8_to_hsv(input: Srgb<u8>) -> Hsv {
    Hsv::from_color(input.into_format())
}