예제 #1
0
        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;
        }
예제 #2
0
 public override void Initialize(IRgb color)
 {
     HslConverter.ToColorSpace(color, this);
 }