What the hex goin' on here?
When editing an HTML document or graphic image for the Internet, you may encounter a color code similar to #FFFFFF. You can easily manipulate a sequence like this with a web palette or image-editing software. But by examining it more closely, you can gain valuable insight into the displays generated by electronic media such as computers and televisions.
In the traditional analysis you're probably familiar with, red, blue, and yellow are considered "primary" because no other colors are used to create them. "Additive" colors result from some combination of these. For example, purple is produced by mixing red and blue.
Electronic media, on the other hand, work with light, not paint. The visible spectrum ranges from red (infrared) to green to blue (ultraviolet). In the same way a prism separates the rainbow of colors, a computer screen can break down and display the component parts of white light. In a process known as subtractive synthesis, a color is created by removing its complement.
In a six-character color code, the first two figures indicate the amount of red present, the second two are a measure of green, and the final two describe a level of blue. These codes employ a hexadecimal numerical scheme, wherein the letters A through F account for the final six increments. Looking at the example offered above, the designation #FFFFFF indicates that red, green, and blue are all fully present, and therefore white is displayed. At the other extreme, #000000 denotes black; no color is exhibited.
For instance #FFFF00 would represent yellow. Notice the red and the green are at full tilt. There is no blue. By mashing the red and green up against each other, the red cancels out the blue and all that is left is the yellow. It's actually a subtractive color method being employed in an additive world.
Another example can be DC143C. This code creates a shade of red called "crimson." The red setting, DC, is pretty intense. There's not much green. Blue is set a little less than halfway up. As you can see easily hexadecimal code is just about adjusting the right hue. Considering the 3 different colors with, 00 to FF, 256 different hues; we end up with 256-3 different colors which explain our 64 bit representation of colors.
So the next time you’re in need of riveting conversation, you can bring up your new knowledge about Hex codes for colors.
Source: What the hex goin' on here?.
Please keep the link especially when you copy this article in full or part.
What's next?
Do you like "What the hex goin' on here?"?
Link to this page:
- Step 1: Copy the following HTML code (Click on the box and press Ctrl+C):
'? onclick='this.select()'/> - Step 2: Paste the copied code to your web page's HTML (Ctrl+V) to where you want to place the link.
- Step 3: When viewing on a web browser it should look like this: What the hex goin' on here?.
Featured Tips for Web Design
Review: Swish
Are you in a busy office and need to get web design jobs with complex text effects done immediately? Want to speed up your productivity but avoid working until Saturday afternoons breaking up text...
Writing for People and for Search Engines
So you've decided to get a website that's optimized for search engines. You're no dummy. You want your website to show up any time a search is conducted in your area of expertise. Who can blame you?...
Big Business Web Design Disasters
When you think of the world's most successful businesses, what names come to mind? Most likely, consumer-oriented giants such as Coca-Cola, McDonald's, Sheraton, Disney, IBM, and General Electric....
The Best Web Design and Graphic Software is Available in Academic Software Versions
Macromedia’s Studio 8 Suite Academic Software Package Macromedia Dreamweaver My first choice for HTML editors is Macromedia's Dreamweaver. It has an easy to use, intuitive user interface and state of...
Create Your Own Webcomic
Syndicated comic authors have been complaining about newspaper size restrictions, content censoring and similar issues for a long time. Comic enthusiasts have been increasingly irritated by the...