Moving the mouse over any of these characters will change the colors.ģ) With EVERY color change, the 2 output boxes display the three digit "hex value" of that color.įor example, the value for blue is "F 0 0".Ĥ) This program is very handy for choosing font and background colors for your webpage(s). If you want more than 16 million colors clickĢ) Each of the 3 rows consists of the characters:Ġ 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 A B C D E F This Color Display Program shows 4,096 colors.
![css color codes 3 digit css color codes 3 digit](https://1.bp.blogspot.com/-bWQuwoeMPEk/XzOFLxsEGuI/AAAAAAAAClw/R_fv2KWRr3YIpvCh0SADRhxDuyEEGELtwCLcBGAsYHQ/w1200-h630-p-k-no-nu/Hex%2BColor%2BCode%2Bin%2BPython%2B-%2BHacker%2BRank%2BSolution.png)
Indicates the maximum amount of red which can vary from zero to a maximum of FF (or a decimal value of 255).ġ) The left side of the page controls the background color and the right side controls font (or text) color. For example, 555 gives a dark blue, but 555555 gives a dark gray. However, in Photoshop, that doesnt seem to be the case.
#Css color codes 3 digit code#
The first pair regulates the amount of red, the next pair controls the amount of green and the third pair controls the blue. I had always thought that 3-digit hex codes were equivalent to the 6-digit code that youd get from doubling each digit. It renders pretty much the exact same color as before, and it seems to me that the in-between parts are fairly useless and removing them saved me an entire 300 bytes in my CSS file. The 6 digit number consists of 3 pairs of hexadecimal numbers. I recently went through my CSS file and switched all my six-digit hexadecimal codes to simple three-digit codes (for example, my FDFEFF got shortened to FFF). It has been designed for easy navigation with large amounts of space between the lines.Įxpressing colors as a six digit hexadecimal number is one of the ways to define website colors. Of all the color selectors on this website, this is possibly the most user-friendly. 27 Color Choices 64 Color Choices 125 Color ChoicesĠ 1 2 3 4 5 6 7 8 9 A B C D E F ff 0 1 2 3 4 5 6 7 8 9 A B C D E F ff