Sunday, February 21, 2010

Understanding How HTML Color Codes Work

Understanding How HTML Color Codes Work Have you ever wondered how to code HTML color are put together? For the beginner, may seem a little 'of numbers and letters that do not make sense. In fact, the HTML color code are written in this way for a specific reason that we see in this article.Introduction for Hexadecimal SystemIn mathematics, hexadecimal or simply hex is a number system with a base of 16 usually written using the symbols 0 -9 and AF. The numbers 0-9 have the same value as the decimal system, but beginning with the letter A, the value continues to rise for a value of 16. One is 10, B is 11 and so on up to F, which applies the codes 16.How HTML color codes are put togetherHTML color are composed by six hexadecimal numbers, which represent 16.7 million potential color combinations. Hexadecimal color codes are based on the RGB color model. R stands for red, green, G and B for blue. With his typical html code that looks like this: # FFFFFF be divided as follows. The first two hexadecimal digits representing # FFFFFF 'red'. The second set of two hexadecimal digits representing the green color # FFFFFF. The third and final set of two hexadecimal digits representing the color # FFFFFF blue.A short description of modelThe RGB color model RGB, HTML, as the color model can represent a total of 16.7 million colors. Ranging from red, green and blue, you can reach any of 16.7 million colors. Each RGB value is a number from 0 to 255. Therefore, a set of RGB values of white, for example, would be similar to this: 255, 255, 255.Putting HTML and RGB TogetherWe've already established the hexadecimal number system with numbers between 0 and 16. Now when you combine two hexadecimal numbers can be a number between 0 and 255. As you can see, RGB and HTML codes for the color are the same color PaletteYears ago model.Websafe color monitors could display only 256 colors. These monitors are still popular in HTML format when it was made for the first time together. As such, it was necessary to create a list of colors that the designers can be sure any monitor can display correctly. Web safe colors are the result. Websafe color palette consists of 216 colors.It is always a good practice to choose the colors in all areas, but not absolutely necessary to continue with the web safe colors. Otherwise, it is more a level of exploitation of what is needed. An exception to this rule may be the development of websites for mobile phones and PDAs. That said, these devices are also overcome this barrier. # FFFFFF white. # 000000 represents the color black with any color in between. I hope that we now have a much better idea of why the HTML code for the color are looking for ways in which do.Joe Duchesne is the president of Yowling.com. E 'specializes in business web hosting and also offers the possibility of designing a website on-line using their easy to use e-commerce site builder. Reprint freely as long as it keyword rich to click on the link to our site.

No comments:

Post a Comment