[−][src]Function mandalas::util::cmyk_to_rgb
pub fn cmyk_to_rgb(cmyk: [f64; 4]) -> [f64; 3]
Translate a CMYK colour point into an RGB colour point.
Examples
assert_eq!(cmyk_to_rgb([0f64, 0f64, 0f64, 0f64]), [1f64, 1f64, 1f64]); assert_eq!(cmyk_to_rgb([0f64, 1f64, 0f64, 0f64]), [1f64, 0f64, 1f64]);