internal static void ToColorSpace(IRgb color, IHsb item) { var hsl = new Hsl(); HslConverter.ToColorSpace(color, hsl); item.H = hsl.H; item.S = hsl.S; item.B = hsl.L; }
public override void Initialize(IRgb color) { HslConverter.ToColorSpace(color, this); }