I’ve been using a color that I chose with a color picker in Xcode. I need to use that color programmatically now, but I don’t know its hex code.
Is there a way to see it in Xcode?
I’m using Xcode 4.2.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you are talking about picking color in xcode interface builder, the answer can be obtained in 2 steps:
Step 1: Get RGB values by following this link.
Step 2: Convert that to hex code by following this link