|
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
Navigation:
[Reply to this message]
|