Skip to main content

is_in_gamut

Function is_in_gamut 

Source
pub fn is_in_gamut(xyz: &Xyz) -> bool
Expand description

Check if a colour is in the sRGB gamut (all linear sRGB channels in [0,1]).