165k views
0 votes
A digital artist comes up to you and says, "help! i need a 12-bit color that's just a little bit greener than #79b." what would you suggest and why?

User Dviros
by
7.7k points

1 Answer

5 votes
#7ab

The colors on web pages are specified by a RGB triplet of three hexadecimal numbers. The 1st digit is the intensity of the color red, the 2nd digit is for green, and finally, the third digit is blue. Since we just want something slightly greener, we increase the green value from 9 to 10. And to represent the values 10-15 in hexadecimal, we use the letters a-f, so this more intense green has the value "a". We leave the red and blue components unchanged, so the final result is #7ab.
User First Arachne
by
7.7k points