Those fit for background colors.
I need as many as possible:)
Those fit for background colors.
I need as many as possible:)
The W3Schools website contains a complete list of all named colours. These include a fairly wide selection of light, medium, and dark shades.
According to the website, they should all be supported by the major browsers (IE, Firefox, Safari, etc.) - so fortunately no need to worry about standards support here.
...
http://www.google.co.uk/search?q=css+named+colors
w3c html/css standards only specify 16 colours:
aqua black blue fuchsia gray green lime maroon navy olive purple red silver teal white yellow
everything else is non-standard - use hexcode instead.
You can always compile your own colors:
background: rgb(245, 255, 255);
where the first property is the ammount of Red, the second is the ammount of Green and the third is the ammount of Blue.
As long as you keep the values high (where 255 is max) the color will be light ;)
You can easily use css for gray colors, for example #ddd
, or #e4e4e4
,
They'll be gray as long as all three values (rgb) are the equals.
CSS 2.1 only defines 16 named colours.
Most browsers support a much larger set, including colours from SVG. These are included in CSS 3 Colors (but not always all the alternative spellings, e.g. "grey" vs "gray").