IT.COM

Tutorial: Websafe Colors

NameSilo
Watch
Impact
0
One thing that i find usefull when making websites is what i was tought as the rule of 51. Basically, all websafe colors, when in rgb format, are 3 numbers each a multiple of 51 (xxx,xxx,xxx). 000, 051, 102, 153, 204, and 255 are the numbers which can be used to make up these websafe colors. But how does this help you? html doesn't use rgb, html uses hex.... ok.. well.. heres the same values in hex. 00, 33, 66, 99, CC, and FF.

Examples
000,000,000 = 000000
000,051,000 = 003300
153,255,102 = 99FF66

Now... what do these numbers do?
in RGB mode the first 3 numbers represents the color R, the second 3 green and the third 3 represent blue. The higher the number for one color, the more of that color will appear in the final color.

Links
WebMonkey: Color Code Referance Sheet
All you need to know about websafe colors (Very Lengthy)

Any question? Anything you'd all like to add?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Hey Nice explanation! It's still a bit confusing though. Now how about something on binary to hex? :D :roll:
 
0
•••
basically a websafe color is a multiple of 3 for example

c0c0c0 is a multiple of 3
33333 is a multiple of 3

444444 isnt
 
0
•••
0
•••
Well, I am working on a website now and I am using #DBEEFF. While that make a difference when the viewer would use 16 bit set-up against 32 bit set-up?

I mean the monitor settings...coz I want to use pastel and most of those colors have different combinations. Like #F9E6CA or #FADEF0. Are these advisable?
 
Last edited:
0
•••
I'd say the only safe colors to go with are the Web Safe colors previously mentioned.
 
0
•••
Really good post for colour reference.
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back