xy2hex static method

String xy2hex(
  1. double x,
  2. double y
)

Converts xy coordinates in the CIE 1931 color space to a hex string.

Returns a string representing the hex value. ffffffff

Implementation

static String xy2hex(double x, double y) {
  final List<int> rgb = xy2rgb(x, y);
  return rgb2hex(rgb[0], rgb[1], rgb[2]);
}