Converts xy coordinates in the CIE 1931 color space to a Flutter Color.
static Color xy2color(double x, double y) { final List<int> rgb = xy2rgb(x, y); return Color.fromARGB(255, rgb[0], rgb[1], rgb[2]); }