Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

image colours not matching - flash vs. HTML



3:46 pm on Aug 13, 2008 (gmt 0)

5+ Year Member

Hi all,

Am building a site in HTML which uses a textured image in the background. On part of the page I need to insert an animation, which uses the same background.

In Safari the flash background is subtly different in colour to the flash one, yet in Firefox it looks fine.

Suspect this is something to do with colour profiles - I have used sRGB throughout...

Can anyone shed any light on this?



6:29 pm on Aug 13, 2008 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

This is probably related to the same thing that's been around since browsers first started displaying images. Someone will have a more accurate description, but it's related to the browser's palette. Monitors can display millions of colors, and full palette images (such as a TFF) can store them; browsers do not. If your chosen color is outside the "web safe" palette, it will set it at the closest value it knows. If one system "moves" one color to a different place than another, there's your color shift.

You can try setting the background color to a value that is within the "web-safe" palette. Even if you get it to cooperate on your system by tweaking the color palettes, the average user won't know how to do this (hence, being able to see your color shift is a GOOD thing.)


Featured Threads

Hot Threads This Week

Hot Threads This Month