Beispiel #1
0
        public Color GetColorIncreased(Color color, int h, int s, int b)
        {
            RibbonColor _color = new RibbonColor(color);
            int         ss     = _color.GetSaturation();
            float       vc     = b + _color.GetBrightness();
            float       hc     = h + _color.GetHue();
            float       sc     = s + ss;


            _color.VC = vc;
            _color.HC = hc;
            _color.SC = sc;

            return(_color.GetColor());
        }