I have a color, and I want to get a shade of this color by a certain percentage. Thus, 100% is the color itself, 90% is a slightly light color, etc. Basically, it is like adding 10% opacity to a color if the color is on a white background. I need to convert the color to a color value of hexadecimal color, so I don't want transparency.
Is there an algorithm to get a hue of the value of System.Drawing.Color RGB?
source
share