Reply to Re: Matching colours between a .png and background

Your name:

Reply:


Posted by Jonathan N. Little on 03/07/07 18:02

patrick j wrote:
> Hi
>
> I'm wondering a bit about an inconsistency between colours matching on a
> web-site I'm working on.
>
> As a demonstration I've created an ultra simple HTML page containing a .png
> image.
>
> The image is at the top right of the page. The body element of the page has
> a background colour which should be the same but only seems to be on some
> web-browsers.
>
> The URL is:
>
> <http://www.patrickjames.me.uk/colourtest.html>
>
> Don't forget that in the UK we spell colour with a u. We do this because we
> like being awkward.
>
> The actual colour of the image and the background has the following
> red/green/blue values:
>
> rgb(0%, 25.1%, 50.2%)
>
> Viewed with Safari and iCab the colours match perfectly and so the image
> can not be seen. However viewed with FireFox and IE 7 the colour of the
> image is lighter than that of the background. Viewed with IE 6 a white-ish
> line appears around the .png.
>
> So, my question is: how do I get the colours to match in all browsers?

It it is 32-bit but only 3 colors, reduce the the palette and your get
RGB of 0,64,128 and if you set the background to rbg(0,64,128) it
matches just fine...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация