internal static Color LchToRgb(LchColor lch) { var lab = LchToLab(lch); var rgb = LabToRgb(lab); return(rgb); }
/// internal static LabColor LchToLab(LchColor lch) { var h = lch.H * (Math.PI / 180); return(new LabColor(lch.L, Math.Cos(h) * lch.C, Math.Sin(lch.H * lch.C))); }