Function glm_color::from_rgb [] [src]

pub fn from_rgb<T: ColorSpace>(clr: Rgb) -> T

Converts clr in linear RGB space to color space T.