homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

image colours not matching - flash vs. HTML

5+ Year Member

Msg#: 3722110 posted 3:46 pm on Aug 13, 2008 (gmt 0)

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?




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

Msg#: 3722110 posted 6:29 pm on Aug 13, 2008 (gmt 0)

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.)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved