public static void CieLuvToRGB(this RGBColorSystem @this, float l, float u, float v, out float r, out float g, out float b, float[] referenceWhite = null) { float x, y, z; CieLuvUtils.LuvToCieXYZ(l, u, v, out x, out y, out z, referenceWhite); @this.CieXYZToRGB(x, y, z, out r, out g, out b); }
public static void CieLabToRGB(this RGBColorSystem @this, float l, float a, float b, out float rgbR, out float rgbG, out float rgbB, float[] referenceWhite = null) { float x, y, z; CieLabUtils.LabToCieXYZ(l, a, b, out x, out y, out z, referenceWhite); @this.CieXYZToRGB(x, y, z, out rgbR, out rgbG, out rgbB); }
public static void LChToRGB( this RGBColorSystem @this, float l, float c, float h, out float r, out float g, out float b, LxyModel model = LxyModel.Lab, float[] referenceWhite = null) { float x, y, z; LChUtils.LChToCieXYZ(l, c, h, out x, out y, out z, model, referenceWhite); @this.CieXYZToRGB(x, y, z, out r, out g, out b); }