Generating Color Gradient

Posted by Malfist on Stack Overflow See other posts from Stack Overflow or by Malfist
Published on 2010-06-08T14:33:26Z Indexed on 2010/06/08 14:52 UTC
Read the original article Hit count: 171

Filed under:
|
|
|

I want to display to my user how many (percent wise) of their forms are compliant with the new standard. The way I want to let them know visually is the percent amount will be colored. It will be 0xFF0000 (pure red) for 0% and 0x00FF00 (pure green) at 100%. What is the best way to calculate the color for each step along the way?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET