PDA

View Full Version : Background Color - CSS


aestronza
01-22-2007, 04:55 PM
Would you please, anyone, be able to type out the proper CSS syntax on how to change the background color to a specific color and then by percentage. For example, lets say I wanted to use black, #000000, but wanted to specify a percentage of that color to display it as a gray, how would that look in CSS?

Please advise!

Thanks.

domedia
01-22-2007, 05:39 PM
You would type in the exact color, as in #ccc

aestronza
01-22-2007, 06:35 PM
the Hex color is: #005A98

domedia
01-22-2007, 07:19 PM
the Hex color is: #005A98

Then it would be background-color: #005A98;
voila :)