[thelist] Gif color verses html color. Is it the same?

Adrian Gonzales adrian at clearspanmedia.com
Thu Apr 1 17:11:35 CST 2004


Browsers and operating systems render a lot of colors differently. You
can use the Web Safe pallet to get the colors to match. It's a set of
216 colors that seemlesly match between images, html, flash and other
things in a browser.

Most graphics programs, including Photoshop and Fireworks, give you the
websafe colors. The closest safe color to the one you want is: #66CC66

Hope that helps.

Adrian Gonzales Jr.
Creative Director
Clear Span Media
clearspanmedia.com


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Mike
Sent: Thursday, April 01, 2004 1:25 PM
To: thelist at lists.evolt.org
Subject: [thelist] Gif color verses html color. Is it the same?


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

-- 
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 



More information about the thelist mailing list