[][src]Function colorskill::get_color_saturation

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

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

Example

use colorskill::get_color_saturation; let saturation = get_color_saturation((34, 84, 39));