HTML
  Home arrow HTML arrow Page 3 - Color Composition and HTML
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

Color Composition and HTML
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2008-03-19

    Table of Contents:
  • Color Composition and HTML
  • Possible Colors
  • Similarity in Colors
  • Making Colors Darker or Lighter

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Color Composition and HTML - Similarity in Colors


    (Page 3 of 4 )


    Similarity in Colors

    When you are designing a web page, you may want to input a color that is similar to another one you already know. Now, if you change any of the values of the above colors slightly, you will have a color similar to it. For example, Fuchsia is given as rgb(255,0,255); the color rgb(253,0,253) is similar to Fuchsia.

    You might have heard that you can also represent colors using hexadecimal values. I will not address that because the RGB format is enough to cater to anything that concerns this article.

    Gray Colors

    The black and the white colors are two reference colors in the set of all colors (all combinations of RGB). They are at opposite points. The black color is rgb(0,0,0). The white color is rgb(255,255,255). Note that the value of each of the three fundamental colors in the representation of the black color is 0, the minimum possible value. Also note that the value of each of the three fundamental colors in the representation of the white color is 255, the maximum possible value.

    Gray colors are of different levels. For example, you have dark gray colors and light gray colors. For any gray color, the values of the three fundamental colors are the same. The following table gives different gray colors:


    Gray Color

    RGB Equivalent

    WhiteSmoke

    rgb(245,245,245)

    Gainsboro

    rgb(220,220,220)

    Silver

    rgb(192,192,192)

    Gray

    rgb(128,128,128) - gray proper

    DimGray

    rgb(105,105,105)

    As you go down the above table, the gray color becomes darker; each of the values is getting closer to 0. Generally, values that are closer to 255 give lighter colors, while values closer to 0 give darker colors.

    So any RGB color where the values are equal is a gray color.

    Doping Gray Color

    The word “dope” means you add a bit of material to a large quantity of another material. The question here is, how can we add a bit of color to gray? The solution is simple. Vary one or two or all three of the values in the RGB code slightly. Do not take the word “dope” in this context strictly, even though the end result looks as if you have added a bit of color to gray. The following table gives “doped” gray colors.


    Doped Gray

    RGB Equivalent

    DarkSlateGray

    rgb(47,79,79)

    LightSlateGray

    rgb(119,136,153)

    SlateGray

    rgb(112,128,144)

    More HTML Articles
    More By Chrysanthus Forcha


       · You are an HTML coder. Do you want to see a color anywhere and reproduce it. If your...
     

    HTML ARTICLES

    - Building Single Row Database Forms with HTML
    - Introduction to Database Forms with HTML
    - Another Look at Animation of Geographical Ma...
    - Animation of Geographical Map Regions
    - Changing and Moving Pictures with CSS
    - Clickable Geographical Map Regions
    - Gradient Creation with the HR Element
    - Text on HTML Images: Do it Yourself
    - Custom Buttons in HTML
    - Quick Web Page Menu
    - Maximizing and Restoring HTML Images with th...
    - Maximizing and Restoring HTML Images with th...
    - Handling Hyperlinks and Images in HTML
    - Quick Start with HTML
    - HTML Tips







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway