[][src]Function colorskill::get_color_hue

pub fn get_color_hue(t: (u8, u8, u8)) -> f64

Converts the RGB to a HSL and returns the hue value.

Example

use colorskill::get_color_hue; let hue = get_color_hue((34, 84, 39));