# Swf background color vs. browsers background color

**URL:** <https://forum.kirupa.com/t/swf-background-color-vs-browsers-background-color/523>\
**Category:** Uncategorized\
**Created:** [July 20, 2002, 7:25pm UTC](https://forum.kirupa.com/t/swf-background-color-vs-browsers-background-color/523 "2002-07-20T19:25:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seananderson256](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@seananderson256](https://forum.kirupa.com/u/seananderson256)\
**Post date:** [July 20, 2002, 7:25pm UTC](https://forum.kirupa.com/t/swf-background-color-vs-browsers-background-color/523/1 "2002-07-20T19:25:39Z")

</div>

Am I the only one struggling with my flash backround not synching with the browsers background color? What I mean is, when my flash file has a bg of #cc9900, and my webpage has the same background, they are still different shades when I look at the webpage with the flash file in it.

I’m sure you guys get the same thing… so what do you do?

Sean

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2002, 7:43pm UTC](https://forum.kirupa.com/t/swf-background-color-vs-browsers-background-color/523/2 "2002-07-20T19:43:29Z")

</div>

browsers can render hex colours a little strangely sometimes.

one workaround is to create a 1 pixel gif of the colour you want and use it as your background instead of spec’ing a hex colour.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2002, 11:02pm UTC](https://forum.kirupa.com/t/swf-background-color-vs-browsers-background-color/523/3 "2002-07-20T23:02:37Z")

</div>

yeah that’s what i used to do and it worked, but it’s not working this time… there’s still that crazy difference in shade.
