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.

4

1 回答 1

2

http://www.colorhexa.com/5893bd “在 RGB 颜色空间中,十六进制 #5893bd 由34.5%red57.6% green74.1%blue组成。”

将颜色的百分比转换为小数并在此函数中输入代码。

colorWithRed: 0.345 green: 0.576 blue
于 2012-06-12T13:32:39.217 回答