|
An quick easy example of the HTML color code for black is; six zero’s (or #000000) equal 0 color, or the absence of color… in other words… black.
Side note; The “#” that precedes the code just means that you are entering a color code, you can also usually use the word of the color like “red” if you want red or “blue” if you want to use blue.
~~Let’s play a game! I am thinking of a color… and you have to guess what it is. Ready… GO!... HINT-> This text is the color I was thinking of, but there is really no standard word for that color you might call it a light green, mint, or medical scrub green, or was that lime green? You can bet that there is a hexadecimal code for this color though, this colors name or ‘number’ rather is “#6F9”
These 6 digit color codes are “hexadecimal” or “base 16”, and these sound like crazy terms, but they are not that hard to understand.
Let’s start with what you are probably most familiar with… 10 fingers and 10 toes, that’s how pretty much everyone learned how to count. And just as you have 10 digits on both your hands you also have 10 main digits that our whole math system is based on. Here they are 0, 1, 2, 3, 4, 5, 6, 7, 8 , and 9… then you start over again when you get to ten, because that is really just a 1 with a 0 after it. With base 16, you keep going up to 16 instead of 10 digits, and you may be thinking… well I am going to need 6 more digits (or three more fingers per hand, and that would look really weird). I would also be thinking “Where are these 6 new digits even going to come from???” Well some smart person decided that we could just use the alphabet instead. So, when you get to 9 in “base 16”, the next digit is “A”. And it goes 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. It’s kind of a weird concept, but once you know the secret, you become unstoppable! And here is your short answer to the above question: The color code for ~WHITE~ is “#FFFFFF”. I will list some other common colors and their HEX code below;
(Tip: it is also common to only use 3 digit HEX codes as well for example black (#000000) can also be listed as #000, or white (#FFFFFF) can also be #FFF)
RED – #F00 BLUE – #00F YELLOW – #FF0 GREEN – #0F0 LT GREY – #CCC DK GREY – #333 PURPLE – #90F ORANGE – #F60
----------------------------------------------------------------
This is a portion of a new e-book I will be releasing this summer called "Zero to website.... in 60 minutes!", A do-it-yourself guide to building your own professional looking website in 60 minutes. © copyright 2010 PDXdzyn.com. All rights reserved.
Add a comment
|