TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

color diff from ps>html

Page: 1 2 Reply
Aug 1st 2001#11222 Report
Member since: Jul 8th 2001
Posts: 180
Please help me out on this one if you can as I need to figure this out before I can continue to make my page.

I have an image that I'm going to use as my webpage and I create the slices in imageready then I open it up in dreamweaver and add the background color to match that of the pic, but for some reason the color is off. here is an example of what I'm talking about. http://www.geocities.com/black21knight/v31/designbg3.html that grey is supposed to be hexadecimal #999999, and it is set that way in both photoshop and dreamweaver (the page background), but once I view it in dw it is off like you c there. Anyone know why? it is a websafe color. I've tried saving it at the highest quality jpeg to see if that made a diff but it didn't.

Any help is appreciated, thanx in advance.
Reply with Quote Reply
Aug 1st 2001#11229 Report
Member since: Mar 18th 2001
Posts: 6632
Welp. Sometimes the color can be interpreted differently by a graphics program and html. Sometimes what I do when something like that happens is to use a 1 pixel image as the background image of the site. That way it will fill the entire page when it tiles, but it will only be like 2 bytes to download.
Reply with Quote Reply
Aug 2nd 2001#11255 Report
Member since: Apr 7th 2001
Posts: 366
The only problem with using a 1 pixel image is that it's hard on processing power of the computer it's being loaded on. So it's suggested that you use larger images say 20x20 instead. The size is still small enough that it is loaded quickly but large enough that the users computer doesn't have to tile the image a few thousand times and using a lot of processing power processing power.
Reply with Quote Reply
Aug 2nd 2001#11259 Report
Member since: Mar 18th 2001
Posts: 6632
Yeah I guess that makes sense. For those couple people still using Pentiums or something.
Reply with Quote Reply
Aug 2nd 2001#11262 Report
Member since: Mar 18th 2001
Posts: 1501
Those tiny 1X1 or 2X2 gifs piss me off to no end. It's the reason I rarely visit the TechTV site. They use them as table cell BG's and they take forever to redraw. Mind you, this is when viewed with Communicator (my preferred browser...please don't throw anything at me...I just have a bug up my arse for anything Microsoft, but Explorer doesn't have the redraw problem with those little bastard 1X1's).

I feel there are no colors so sacred that one absolutely must use a 2X2 to simulate a non-GIF color.
Reply with Quote Reply
Aug 2nd 2001#11265 Report
Member since: Mar 18th 2001
Posts: 6632
Well I had actually never heard anything negative about them, and I only open Netscape to test sites, so I guess I didn't notice. I won't do that little trick in the future then. Any legitimate solutions to the problem?
Reply with Quote Reply
Aug 2nd 2001#11267 Report
Member since: Apr 7th 2001
Posts: 366
Well for solid backgrounds you can just use larger "swathes" of coulor.
Reply with Quote Reply
Aug 2nd 2001#11346 Report
Member since: Jul 8th 2001
Posts: 180
Thanx for all the great replies guys. I think I might try that. If i do, i'll c how mcuh of a hit it takes to the loadtime and I'll post again to get others opinions. Thanks again, if anyone else has an alternate solution please let me know. I might try just fooling around with the grey in ps until it matchs the html color. (that could take forever, but i'd prefer it done that way)
Reply with Quote Reply
Aug 2nd 2001#11382 Report
Member since: Mar 24th 2001
Posts: 3734
I can't imaging why it would do that.

I use the same color in HTML, Photoshop, and Flash, and they ALL look the same color to me.

I did all grays in different colors, and they all seem to match. I was trying to recreate what you did, and I see the color difference on your page, but when I do it, it works.

But when I try to dab the grey off your image, I get #9F9F9F
Reply with Quote Reply
Aug 3rd 2001#11468 Report
Member since: Jul 8th 2001
Posts: 180
alright i used a 10x10 grey image for the bg and that works fine. but still one problem. I want to use the grey color #999999 but the jpeg always comes out pinkish. ( that example i posted is not exactly the one i was coming across, because I couldn't find where i had saved it, so mattboy you are correct those are meant as 2 different greys and I appreciate you trying to recreate it ). But here is the #999999 grey coming out different http://www.geocities.com/black21knight/colortest.html the image on the tope left is the jpeg and its pinkish for osme reason, the background is the correct color. that color also shows correctly in ps. I don't know why. when I switched to #666666 there is still a diff although very slight. so now I'm not even going to use #999999 because it looks so pinkish. I thought maybe i was saving the quality too low but even when its at max it is still that way.

Anyone know of any settings that could effect this, i'm thinking its gotta be in the way it is output. but i'm all outta ideas and I really odn't want to have to stick witht he darker grey (#666666).

And incase i didn't make this clear, the reason why i don't jus use #999999 as a bg image is because of that pinkish tint that I definetely don't want, thanx for the reply guys, all of it is really appreciated.
Reply with Quote Reply
Page: 1 2 Back to top
Please login or register above to post in this forum