Reputation: 878
We have a color defined in a constants.h file like so
#define CUSTOM_ORANGE [UIColor colorWithRed:173/255. green:22/255. blue:35/255. alpha:1.0]
When I create a UIView in IB and want to change the color to this color, I open up the RGB sliders and set it to those same values of 173, 22, 35 and the color is not the same. Why is that and how can I get my custom color in IB? Thanks.
Upvotes: 0
Views: 931
Reputation: 5123
There are couple add-ons I like this one Developer-Color Picker
Or you can use Hex Color which is really easy. Read this Post
Upvotes: 1