public XYZColor ToXYZ(xyYColor color) { if (color == null) { throw new ArgumentNullException("color"); } // conversion var converter = new xyYAndXYZConverter(); XYZColor converted = converter.Convert(color); return(converted); }
public xyYColor ToxyY(XYZColor color) { if (color == null) { throw new ArgumentNullException("color"); } // conversion var converter = new xyYAndXYZConverter(); var result = converter.Convert(color); return(result); }