07.03.2013, 19:54
Can I get some help wth making a hex color darker by specifying how much darker i want it to be?
I believe that I need to reduce the same amount of red, green and blue to make the same color darker.
I was thinking of using bit-wise operators for that, but I couldn't figure a working formula.
I believe that I need to reduce the same amount of red, green and blue to make the same color darker.
I was thinking of using bit-wise operators for that, but I couldn't figure a working formula.