RGB
RGB stands for Red Green Blue. These 3 colors can be combined to make almost any other color. Different shades of each of the 3 colors are all that is needed to determine a color's code. For example, to a computer, if you wanted to represent the color blue, the R and G would be 0 and B would be 1. If you wanted to represent the color black, all three would be 0, representing something that is completely colorless. A color's code is determines by its RGB value.
Numeric/Decimal (0-255)
To represent different shades of the RGB colors, a number is assigned to each of the 3 colors. A number between 1-255 (the size of a byte) is used to represent the "amount" of that color to use. For example, if you wanted the final color to be red, the RGB would be: R=255, G=0, B=0. This would give us a completely red color.
Different combinations of numbers can be used with each color and the 256 possibilities for each to come up with almost any color/shade you want. For example, a color of R=120, G=120, B=120 would be a grayish color since all 3 numbers are equal. The higher the number, the lighter/brighter the color is, the lower, the darker the color is.
Hexadecimal
This is the most important concept to understand when reading a color's code. Computers understand colors as binary/hexadecimal. This is just a different numbering system than the Numeric from above. Basically instead of having one color go from 0-255 to represent the "amount" of the color in the color's code, rather you would use numbers between 0-FF. FF in hex is equivalent to 255 decimal. Often when you look at a color chart to find a color's code, it will be written in hex.
Usually 6 characters, something like "#FFA8F1" is used to represent a color. The "#" represents the fact that this is a hex number. The following 6 characters are the RGB value for the color's code (2 characters for each R, G, B). In this example, R=FF, G=A8, B=F1. That just tells the computer "how much" of each of the 3 colors to use to come up with the final color. This information in the color's code is what tells your computer what color you are wanting to use.
The most important thing to take away from this is that a computer creates the colors from different shades of Red, Green, and Blue. A color's code is often represented in hexadecimal as 6 characters where characters 1 and 2 are the Red, 3 and 4 are the Green, and 5 and 6 are the Blue part of the color's code as was seen in the above example.
Published by Kantus
I love writing short stories and humor articles, but tend to stick with topics that are discoverable by search engines and capable of spreading virally. View profile
- Creating a Website with HTML Code - A Few Basics for the Absolute BeginnerDealing with HTML can seem like an impossible task at first, but once you get a little familiar with it, the code can be easier to understand. This article gives a few pointers to those building a website from HTML co...
- Uncovering the Secret Code of Roses and the Meaning of Rose ColorsRoses have been a symbol of love in all of its forms since the Victorian era. But did you know that roses have a secret "code" hidden within their colors?
- What Does the Color of Your Car Say About You?The color car you drive actually says a lot about who you are to your friends, family, co-workers, potential dates and clients. There is some indication that the color car you drive can have as much impact on that "f...
- Go Tell It, Miss Celie: Alice Walker's Challenge to Negative Female Character Type...This paper explores the representation of the female image as particularly represented by Alice Walker in her novel "The Color Purple". In contrast to several male African American authors, Walker's female representa...
- The Red Green Show on PBSLooking for a new comedy? Try PBS for The Red Green Show. Based on the antics of the Possum Lodge, the definitive club for fun-loving middle-aged male slackers.
- How to Use the Resistor Color Code
- Color Code Guide to Star Wars: The Symbolism of Black and White
- ColorZilla 2.0.2 - Get the Code for Any Color
- Recommended Website Color Schemes
- The Color Purple: Spielberg's Most Nominated Movie Not to Win an Oscar
- Code Pink: Gadfly or One-Trick Pony?
- Holiday Dress Code: What Works for 2007 Office and Casual Parties

