I'm trying to make some photo frames that blend in to a web page that has an RGB background color of 66/66/66. (a medium grey)
So.. I thought I'd start in photoshop CS3 making a image file that is precisely that color...
- File New, then color mode RGB 16bit, color profile sRBG IEC6196-2.1
- set paint color to RGB 66/66/66
- use the paint bucket to fill the canvas. Voila!
At this point, my Photoshop CS3 color info palate shows that my colors are 66/66/66. Perfect!
So I save it to JPG, upload to the server, drop it onto the web page, and my image should exactly match the 66/66/66 html background color, right? Wrong. It's not even close.
See for yourself: http://ronhiner.com/opf/50test.html
In theory, the only thing that should be visible on that page is the grey background color, and the text. You should not be able to see where the edge of the image is. The image has become a dark grey.
Macs have a spiffy thing called a digital color meter... drag the pointer anywhere on your screen and it tells you the exact color formula for that point. Well, my browser-rendered image that should be a pure 66/66/66 measures 42/42/42 with that tool. When I point the color meter to my image in photoshop, as rendered in photoshop, I get 45/46/45. I don't get that one either.
Obviously, I'm failing to understand something here. I think I have the color profile right... sRGB all the way. I tested in Safari and Firefox 2.x.. Safari (I think) is color managed, and the profile is embedded anyway, so I should be at least pretty close.
So... I guess I have two questions...
1) What am I missing here?
2) How do I make a simple background JPEG image that matches a known HTML color?
Thanks in advance!
Ron
So.. I thought I'd start in photoshop CS3 making a image file that is precisely that color...
- File New, then color mode RGB 16bit, color profile sRBG IEC6196-2.1
- set paint color to RGB 66/66/66
- use the paint bucket to fill the canvas. Voila!
At this point, my Photoshop CS3 color info palate shows that my colors are 66/66/66. Perfect!
So I save it to JPG, upload to the server, drop it onto the web page, and my image should exactly match the 66/66/66 html background color, right? Wrong. It's not even close.
See for yourself: http://ronhiner.com/opf/50test.html
In theory, the only thing that should be visible on that page is the grey background color, and the text. You should not be able to see where the edge of the image is. The image has become a dark grey.
Macs have a spiffy thing called a digital color meter... drag the pointer anywhere on your screen and it tells you the exact color formula for that point. Well, my browser-rendered image that should be a pure 66/66/66 measures 42/42/42 with that tool. When I point the color meter to my image in photoshop, as rendered in photoshop, I get 45/46/45. I don't get that one either.
Obviously, I'm failing to understand something here. I think I have the color profile right... sRGB all the way. I tested in Safari and Firefox 2.x.. Safari (I think) is color managed, and the profile is embedded anyway, so I should be at least pretty close.
So... I guess I have two questions...
1) What am I missing here?
2) How do I make a simple background JPEG image that matches a known HTML color?
Thanks in advance!
Ron