颜色在浏览器和 Photoshop 中看起来不同
我在 Photoshop 和浏览器中遇到颜色问题。为什么相同的颜色(#cccc66)看起来不同?这是在 photoshop http://gyazo.com/a4f4181bf0638d652174f0a7d4f1fe9d.png 和浏览器中的 http://gyazo.com/37a9ad028951e85a288344f59c84ecc7.png。可能是什么?
一些附加信息。这不是图像。我只是使用吸管工具获取颜色,然后从颜色选择器复制颜色名称。
I have a problem with colors in photoshop and browser. Why the same color (#cccc66) looks different? This in photoshop http://gyazo.com/a4f4181bf0638d652174f0a7d4f1fe9d.png and this in browser http://gyazo.com/37a9ad028951e85a288344f59c84ecc7.png. What could it be?
Some additional info. It's not image. I just used Eyedropper tool to get color then copied color name from color picker.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
它称为颜色配置文件,PNG 中嵌入了一种颜色配置文件。你需要把它去掉。当颜色配置文件处于活动状态时,Photoshop 显然会通过“另存为 Web”执行奇怪的操作。
这可能会有所帮助:http://www.viget.com/inspire/the -神秘的保存为网页颜色偏移/
It's called color profiles, the PNG has one embedded. You need to strip it out. Photoshop apparentely does weird things with "Save for Web" when color profiles are active.
This may help: http://www.viget.com/inspire/the-mysterious-save-for-web-color-shift/
我认为本教程应该可以解决问题:
http://www.smashingmagazine.com/2009/10/12/setting-up-photoshop-for-web-app-and-iphone-development/
另外,您可能想要看看这个(基本上是一样的,但是在“查看”菜单中启用了“校样颜色”):
http://www.usabilitypost.com/2008/07/30/photoshop-color-profiles-for-web-images/
I think this tutorial should do the trick:
http://www.smashingmagazine.com/2009/10/12/setting-up-photoshop-for-web-app-and-iphone-development/
Also, you might want to have a look at this (it's basically the same, but with "Proof Colors" enabled in the "View" menu):
http://www.usabilitypost.com/2008/07/30/photoshop-color-profiles-for-web-images/
如何从 Photoshop 导出此图像?您是否使用“保存为网络和格式”?设备(文件 -> 保存为 Web 和设备)?此外,您还必须设置正确的颜色配置文件(编辑 -> 颜色设置),因为某些格式已经嵌入了您当前的颜色配置文件。
How you export this image from Photoshop? Did you use Save for Web & Devices (File -> Save for Web & Devices)? Also you can have to set up proper color profile (Edit -> Color settings), because some formats have embedeed your current color profile.