Home > Back-end >  How to get a color of light color?
How to get a color of light color?

Time:10-02

For example, a label background color is red, click once, red light point,
How to implement, because there are a lot of LABEL, different background color, how to implement the click, corresponding becomes shallow point?

CodePudding user response:

Each component add a bit of each color

CodePudding user response:

Events, a unified according to Sender to judge object for the Button, after pressing for the color of the object, then the color value decreases a little line ah,

CodePudding user response:

Using the color picker look, as the color becomes shallow color of RGB is reduced accordingly.

CodePudding user response:

To ratio decreases, and RGB component multiplied by a coefficient respectively, such as 0.9, integer, synthesis of a new color,
  • Related