Function graphics::color::gamma_linear_to_srgb [−][src]
pub fn gamma_linear_to_srgb(c: Color) -> Color
Converts gamma (brightness) of a color from linear color space to sRGB.
sRGB is the default color space for image editors, pictures, internet etc. Linear gamma yields better results when doing math with colors.