pub fn xyz_from_normalised(rgb: impl Into<[f32; 3]>) -> [f32; 3]
Expand description
Converts a normalised representation of a sRGB colour into XYZ colour space.
This is just a convenience function which wraps gamma (see gamma
module)
and XYZ (see xyz
module) conversions function together.