Function three::color::from_linear_rgb [] [src]

pub fn from_linear_rgb(c: [f32; 3]) -> Color

Linear to sRGB conversion.

Implementation taken from https://en.wikipedia.org/wiki/SRGB