Constructs a XyzColor from color.
color
factory XyzColor.fromColor(Color color) => RgbColor.fromColor(color).toXyzColor();