why would you use hexadecimal value instead of the name color?. I am really having a hard time looking for this.
2 answers
There are many variations and shades of color which you could not possibly know all the names of so a hexadecimal is the best use to get the color you prefer.
When using hexadecimal numbers in colors on web sites, you can use them to change the background colors, font colors, and quite a few other things. There are a total of six characters in there and it will look something like this:
<font color="#FF0000"> (That's for red font)
The colors are mixed up as the first two characters being red, the next two being green, and the last 2 being blue.
So, if you want purple, you would try:
#ff00ff That means the red value is 255 (the highest it goes. FF in hex = 255 in our decimal system). There is 0 green, and there is 255 of blue. You can then play around and add some green, take away blue, and take away red to get the right shade of purple you want.
The easiest way to find the exact color you want is by googling "HTML color wheel." You will get a good mix in there.
<font color="#FF0000"> (That's for red font)
The colors are mixed up as the first two characters being red, the next two being green, and the last 2 being blue.
So, if you want purple, you would try:
#ff00ff That means the red value is 255 (the highest it goes. FF in hex = 255 in our decimal system). There is 0 green, and there is 255 of blue. You can then play around and add some green, take away blue, and take away red to get the right shade of purple you want.
The easiest way to find the exact color you want is by googling "HTML color wheel." You will get a good mix in there.