Tuesday 20 September 2011

Think Web Colors in Hexa-decimal Numbers with RGB


If you've ever customized the design of your blog, social network profile or a widget, you've probably encountered HTML Hexadecimal color codes. 

Here is a simple guide to help you recognize web colors more quickly from their RGB codes.
In a typical web representation #RRGGBB, the first 2 digits denote red, the second 2 digital are for green and while the last 2 digit represent the blue shade. 

Each number denotes the strength of that particular color - FF0000 is only red (no green, no blue), 00FF00 only green (no red, no blue). If all colors are present in equal strength FFFFFF, you get white, if no color is present 000000, black.

If you want to "darken" a color, you need to move the color towards black 000000. That means880000 is darker than BB0000 that is darker than FF0000.


Similarly, if you want to "lighten" a color, move towards white FFFFFF. So, FF8888 is lighter thanFF4444 that is lighter than FF0000.

Color combinations are dictated by the "strongest" color. So BB8844 is a reddish shade, 33CC00would be a little green, and 777777 gray (since it has no strongest color).

If you're uncomfortable with *Hexadecimal arithmetic, you could use the standard Windows calculator in scientific mode to perform such calculations.

*Hexadecimal numbers use 16 unique symbols (0-F) as opposed to the Decimal number system's 10 (0-9), and to make up for the extra 6 characters, the English alphabets A-F are used.

RGB Color Model 
The RGB color model is an additive color model in which red, green, and blue light is added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three additive primary colors, red, green, and blue.
The main purpose of the RGB color model is for the sensing, representation, and display of images in electronic systems, such as televisions and computers, though it has also been used in conventional photography. Before the electronic age, the RGB color model already had a solid theory behind it, based in human perception of colors.
RGB is a device-dependent color model: different devices detect or reproduce a given RGB value differently, since the color elements (such as phosphors or dyes) and their response to the individual R, G, and B levels vary from manufacturer to manufacturer, or even in the same device over time. Thus an RGB value does not define the same color across devices without some kind of color management.

Website Source

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More