[thelist] Gif color verses html color. Is it the same?
Mike
designbase10 at shaw.ca
Thu Apr 1 13:25:05 CST 2004
Is a hex color specified in html rendered in the exact same color as the
same hex color in a gif image?
For example, if I placed a gif image colored with #7bc66b, inside a div,
with the div having this exact same background color, will there be any
difference in the color?
<div><img src="#7bc66b_colored_image.gif" />Here is some text.</div>
CSS:
div {
background-color: #7bc66b;
}
I would like the colors to render identically in all browsers so that
there is no difference to create a "seemless" look.
I remember at one point about 3 years ago someone indicated to me that
browsers render gif and html color differently and in some cases the
small difference may be slightly noticable. But that was 3 years ago and
I am not sure if this is still true today with most of today's browsers.
Thanks for any opinions,
Mike
More information about the thelist
mailing list