開發(fā)同事截圖說我提供的綠色色號(hào)在顯示時(shí)跟設(shè)計(jì)稿不一致蓝丙,特別亮望拖。對(duì)照Sketch的色值,這個(gè)綠色顯示為RGB(0说敏,170,173)医咨。開發(fā)對(duì)照后表示出問題的顏色就是用的這個(gè)色值拟淮。
于是打開單獨(dú)的取色器App一選很泊,RGB值竟然為(43, 170, 173).
后來搜索了一下這個(gè)問題沾谓,在Stackexchange上就早有同樣問題:
https://graphicdesign.stackexchange.com/questions/53073/color-mismatching-on-sketch-exports
When we export an image, we interpret our color values in the sRGB colorspace. We also save the color space in the metadata, unless you have ‘Save for Web’ checked in the export panel. Regardless of that setting though, the intent has been to save with sRGB, which works nicely with Safari as it interprets all images as being saved with sRGB in the first place. If you would also open the image in Preview, it would recognize the sRGB profile and render it as close to Safari as possible. We believe this way we get the most consistent color representation possible.
iOS app color profile最佳實(shí)踐
請(qǐng)參照iOS Developer Human Interface Guideline:
https://developer.apple.com/ios/human-interface-guidelines/visual-design/color/