public void Initialize(IRgb color) { var hsl = ConvertHSB.ToColorSpace(color); this.H = hsl.H; this.S = hsl.S; this.B = hsl.B; alpha = 1; }
public static IHsb FromColor(IRgb color) { return(ConvertHSB.ToColorSpace(color)); }
public void Initialize(IRgb color) { var hsl = ConvertHSB.ToColorSpace(color); this.H = hsl.H; this.S = hsl.S; this.B = hsl.B; alpha = 1; }
public static IHsb FromColor(IRgb color) { return(ConvertHSB.ToColorSpace(color)); }