0

How can you make custom colors in Xcode 4.3.2 for iOS5?

I have a few different colors that I would like to make.

p.campbell
  • 98,673
  • 67
  • 256
  • 322
Masterminder
  • 1,127
  • 7
  • 21
  • 31

1 Answers1

2

http://www.colorhexa.com/5893bd "In a RGB color space, hex #5893bd is composed of 34.5%red, 57.6% green and 74.1%blue."

Convert the percentage of the colors to decimals and enter the code in this function.

colorWithRed: 0.345 green: 0.576 blue
The iOSDev
  • 5,237
  • 7
  • 41
  • 78
Masterminder
  • 1,127
  • 7
  • 21
  • 31