title: How to make specific color darken or lighten based on value in wpf?
body: <p>I am developing wpf application. I am having the instance of Color object in C#. Suppose I have instance of red Color object i.e. <code>Color c = Color.FromArgb(255,255,0,0)</code> Now suppose that I have one value which ranges from 1 to 10. So based on this value I want to change the color of the 'c' object. I want light red for 1 and dark red for 10. The light red becomes the dark as the value increases from 1. How can I do this in C# for wpf application ? Can you please provide me any code or link through which I can resolve the above issue ?</p>