[−][src]Function mandalas::util::roygbp_to_rgb
pub fn roygbp_to_rgb(roygbp: [f64; 6]) -> [f64; 3]
Translate a ROYGBP colour point into an RGB colour point according to sampling the svg on wikipedia.
Examples
assert_eq!(roygbp_to_rgb([0f64, 0f64, 0f64, 0f64, 0f64, 0f64]), [0f64, 0f64, 0f64]);