lundi 23 mars 2015

How can I maintain a similar color profile for iOS Development

I have some problems understanding color profiles/how to keep a color looking the same between different screens and images and stuff. I apologize if this question is very nooby, but I'm still learning things and would appreciate some support.


Here's what I did.



  • I created a somewhat nice app icon for my iOS app in Pixelmator. I checked the color profile here, and its the default sRGB. I decided to give the background layer the color #21A554 rgb(33,165,84) . I proceeded to export the icon to a .png file, as I've heard its lossless and stuff and thought that would retain the color.

  • I resized the icon to fit my app icon with Preview, and added them to the app bundle and the icon.xcassets. I also put the icon in my launchScreen.xib, and set the background view color to the same color i assigned to my icon background in pixelmator earlier.

  • I compiled and ran the app on my iPhone. The icon got a totally different hue on the Springboard, and when the app launched, the icon stood out from the view background, even tho they were supposed to be the same color.


The hardware I used is the newest rMBP 15" and an iPhone 6, the software is the newest version of Pixelmator and the latest beta of Xcode. I have Adobe CS6 if theres an answer which requires that, I just prefer the simplicity of Pixelmator. Also, I made sure to disable f.lux as I know this can mess with colors on your screen.


How can I make an icon which appears the same on all screens, and also, how can I make the background color of that image blend perfectly with the same color set to UIView.backgroundColor?




Aucun commentaire:

Enregistrer un commentaire