/// <summary> /// Create the nearest LCH equivalent of a CMYK color. /// </summary> /// <param name="cmyk">Target color in CMYK space.</param> /// <returns>The LCH equivalent of the CMYK color.</returns> public static ColorLCH CreateFromCMYK(ColorCMYK cmyk) { return new ColorLCH(cmyk); }
/// <summary> /// Create the nearest HSL equivalent of a CMYK color. /// </summary> /// <param name="cmyk">Target color in CMYK space.</param> /// <returns>The HSL equivalent of the CMYK color.</returns> public static ColorHSL CreateFromCMYK(ColorCMYK cmyk) { return new ColorHSL(cmyk); }
/// <summary> /// Create the nearest XYZ equivalent of a CMYK color. /// </summary> /// <param name="cmyk">Target color in CMYK space.</param> /// <returns>The XYZ equivalent of the CMYK color.</returns> public static ColorXYZ CreateFromCMYK(ColorCMYK cmyk) { return new ColorXYZ(cmyk); }
/// <summary> /// Create the nearest LCH equivalent of a CMYK color. /// </summary> /// <param name="cmyk">Target color in CMYK space.</param> /// <returns>The LCH equivalent of the CMYK color.</returns> public static ColorLCH CreateFromCMYK(ColorCMYK cmyk) { return(new ColorLCH(cmyk)); }
/// <summary> /// Create the nearest HSL equivalent of a CMYK color. /// </summary> /// <param name="cmyk">Target color in CMYK space.</param> /// <returns>The HSL equivalent of the CMYK color.</returns> public static ColorHSL CreateFromCMYK(ColorCMYK cmyk) { return(new ColorHSL(cmyk)); }
/// <summary> /// Create the nearest XYZ equivalent of a CMYK color. /// </summary> /// <param name="cmyk">Target color in CMYK space.</param> /// <returns>The XYZ equivalent of the CMYK color.</returns> public static ColorXYZ CreateFromCMYK(ColorCMYK cmyk) { return(new ColorXYZ(cmyk)); }