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  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
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 / 2
    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


    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

    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers
    - Downloading Long HTML Pages with ACP







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    Stay green...Green IT