Results 1 to 5 of 5

Thread: HTML Color Codes

  1. #1
    Join Date
    Mar 2010
    Posts
    53

    HTML Color Codes

    Hello, I have recently started the learning HTML programming language and now I want to know the details of the HTML color codes. If you are having technical details of the color codes then please provide that to me. I have search the details on internet, but I am not able to understand it. So, if you provide it in simple words then I will be thankful to you.

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    Re: HTML Color Codes

    The system red, green, blue (RGB) is one of the color schemes used in painting, In design, In decoration and not based on misinterpretations of the theory of color Isaac Newton presented in his book Opticks. The authors of web pages have many opportunities to specify the colors of the elements of a Web document. Colors can be defined by a triplet RGB in format hex (a hex triplet) and can also be specified by their common name english in some cases. Often a tool for color management or another graphic software is used to generate the numerical value of the desired color.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    Re: HTML Color Codes

    Hello, if you are making use of the HTML Color Codes then you can use following some common used color codes:
    • Red -#FF0000
    • White -#FFFFFF
    • Turquoise -#00FFFF
    • Light Grey -#C0C0C0
    • Light Blue- #0000FF
    • Dark Grey -#808080
    • Dark Blue -#0000A0
    • Black -#000000
    • Light Purple -#FF0080
    • Orange -#FF8040
    • Dark Purple -#800080
    • Brown -#804000
    • Yellow -#FFFF00
    • Burgundy -#800000
    • Pastel Green -#00FF00
    • Forest Green -#808000
    • Pink -#FF00FF
    • Grass Green -#408080

  4. #4
    Join Date
    May 2008
    Posts
    2,297

    Re: HTML Color Codes

    A Hex triplet is a number hex 6-digit stored in three bytes used in HTML and in Style Sheets Cascading (CSS), and other applications, to represent colors. The bytes represent the components red, green and blue color. A byte is the least interval between 00 and FF (hexadecimal notation), or 0 to 255 in decimal notation. The hex triplet is formed by concatenating three bytes in hexadecimal notation in the following order:
    1. Byte 1: red value
    2. Byte 2: green value
    3. Byte 3: blue value

    For example, considering where the color values red / green / blue are decimal numbers: red = 36, green = 104 blue = 160 (a grayish blue color). The decimal number 36, 104 and 160 are respectively 24, 68 and A0 in hexadecimal notation. To get the hex triplet, we simply write the hexadecimal triplet together without spaces, that is to say: 2468A0. If a byte is less than 16 (decimal) or 10 (hexadecimal) must be represented by a leading zero to keep the number of digits in the triplet equal to six. For example, the decimal triplet 0,1,2 would be represented by the hexadecimal triplet 000102.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    Re: HTML Color Codes

    Basically the color codes are divided into the following three parts:
    • code RGB separates the three components (Red, Green, Blue) (given hex and decimal)
    • The code CMYK separates the four components (four colors: cyan, magenta, yellow, black).
    • The code TSL separates the three components: angle (degrees) on the color wheel, Saturation and brightness (in%).

Similar Threads

  1. Color codes are not resolved properly on Messenger Plus!
    By Super-Man in forum Technology & Internet
    Replies: 4
    Last Post: 20-01-2012, 12:26 AM
  2. How to write HTML codes for pictures
    By softte in forum Software Development
    Replies: 5
    Last Post: 01-10-2010, 12:45 AM
  3. Html codes wont work on Blogger
    By Aandaleeb in forum Technology & Internet
    Replies: 3
    Last Post: 25-11-2009, 04:07 PM
  4. how to i get html codes to run onclick of a button?
    By cordless33 in forum Software Development
    Replies: 7
    Last Post: 05-05-2009, 09:53 AM
  5. Color codes in World of Warcraft
    By Gamez in forum Video Games
    Replies: 1
    Last Post: 16-02-2009, 11:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,870,005.31368 seconds with 17 queries