Page 1 of 1

CSS Colors

PostPosted: Wed Jul 30, 2003 1:47 pm
by yardbird
hey all,
here is something i found useful. I modified webdev on my site http://www.pbase.com/yardbird. The best way to get the colors you want is to use paint.
go to colors, edit colors, choose define custom colors and pick the color you want. you will see the rgb values for the color. copy these.

background-color: #000000;

change the above code to

background-color: rgb(0,0,0);

this will give the same effect. You can choose any rgb value you want. Since paint is available in all OS i thought this might be an easy way to do this.

have fun.

Why doesn't my page load as is supposed to on opera? the color change when the cursor hovers over the thumbnail doesnt come. is this a drawback with opera?

let me know
thanks
karthik

addition to above

PostPosted: Wed Jul 30, 2003 1:49 pm
by yardbird
Hey again,
One more useful tip is that any rgb value where all three are same will result in shades of gray. so 0,0,0 is black while 255,255,255 is white. so if u want varying shades of gray keep all three values same.
Have fun
karthik

Re: CSS Colors

PostPosted: Thu Jul 31, 2003 12:58 am
by srijith
yardbird wrote:Why doesn't my page load as is supposed to on opera? the color change when the cursor hovers over the thumbnail doesnt come. is this a drawback with opera?

More like it is an IE specific trick. If I am not mistaken CSS2 support for Opera is very standard compliant and I don't think there is a CSS hover property associated for a <TD>. Maybe that is why.