下面简单列举一下漂亮的和颜色,大家也可以自己依次试一试选出自己喜欢的。

转载请注明

本文转自:http://blog.csdn.net/wildcatlele/article/details/12350431

新浪微博:http://weibo.com/u/3202802157

  1. + (UIColor *)infoBlueColor
  2. {
  3. return [UIColor colorWithRed:47/255.0f green:112/255.0f blue:225/255.0f alpha:1.0];
  4. }
  5. + (UIColor *)successColor
  6. {
  7. return [UIColor colorWithRed:25/255.0f green:188/255.0f blue:63/255.0f alpha:1.0];
  8. }
  9. + (UIColor *)warningColor
  10. {
  11. return [UIColor colorWithRed:221/255.0f green:170/255.0f blue:59/255.0f alpha:1.0];
  12. }
  13. + (UIColor *)dangerColor
  14. {
  15. return [UIColor colorWithRed:229/255.0f green:0/255.0f blue:15/255.0f alpha:1.0];
  16. }
  17. #pragma mark - Whites
  18. + (UIColor *)antiqueWhiteColor
  19. {
  20. return [UIColor colorWithRed:250/255.0f green:235/255.0f blue:215/255.0f alpha:1.0];
  21. }
  22. + (UIColor *)oldLaceColor
  23. {
  24. return [UIColor colorWithRed:253/255.0f green:245/255.0f blue:230/255.0f alpha:1.0];
  25. }
  26. + (UIColor *)ivoryColor
  27. {
  28. return [UIColor colorWithRed:255/255.0f green:255/255.0f blue:240/255.0f alpha:1.0];
  29. }
  30. + (UIColor *)seashellColor
  31. {
  32. return [UIColor colorWithRed:255/255.0f green:245/255.0f blue:238/255.0f alpha:1.0];
  33. }
  34. + (UIColor *)ghostWhiteColor
  35. {
  36. return [UIColor colorWithRed:248/255.0f green:248/255.0f blue:255/255.0f alpha:1.0];
  37. }
  38. + (UIColor *)snowColor
  39. {
  40. return [UIColor colorWithRed:255/255.0f green:250/255.0f blue:250/255.0f alpha:1.0];
  41. }
  42. + (UIColor *)linenColor
  43. {
  44. return [UIColor colorWithRed:250/255.0f green:240/255.0f blue:230/255.0f alpha:1.0];
  45. }
  46. #pragma mark - Grays
  47. + (UIColor *)black25PercentColor
  48. {
  49. return [UIColor colorWithWhite:0.25 alpha:1.0];
  50. }
  51. + (UIColor *)black50PercentColor
  52. {
  53. return [UIColor colorWithWhite:0.5  alpha:1.0];
  54. }
  55. + (UIColor *)black75PercentColor
  56. {
  57. return [UIColor colorWithWhite:0.75 alpha:1.0];
  58. }
  59. + (UIColor *)warmGrayColor
  60. {
  61. return [UIColor colorWithRed:133/255.0f green:117/255.0f blue:112/255.0f alpha:1.0];
  62. }
  63. + (UIColor *)coolGrayColor
  64. {
  65. return [UIColor colorWithRed:118/255.0f green:122/255.0f blue:133/255.0f alpha:1.0];
  66. }
  67. + (UIColor *)charcoalColor
  68. {
  69. return [UIColor colorWithRed:34/255.0f green:34/255.0f blue:34/255.0f alpha:1.0];
  70. }
  71. #pragma mark - Blues
  72. + (UIColor *)tealColor
  73. {
  74. return [UIColor colorWithRed:28/255.0f green:160/255.0f blue:170/255.0f alpha:1.0];
  75. }
  76. + (UIColor *)steelBlueColor
  77. {
  78. return [UIColor colorWithRed:103/255.0f green:153/255.0f blue:170/255.0f alpha:1.0];
  79. }
  80. + (UIColor *)robinEggColor
  81. {
  82. return [UIColor colorWithRed:141/255.0f green:218/255.0f blue:247/255.0f alpha:1.0];
  83. }
  84. + (UIColor *)pastelBlueColor
  85. {
  86. return [UIColor colorWithRed:99/255.0f green:161/255.0f blue:247/255.0f alpha:1.0];
  87. }
  88. + (UIColor *)turquoiseColor
  89. {
  90. return [UIColor colorWithRed:112/255.0f green:219/255.0f blue:219/255.0f alpha:1.0];
  91. }
  92. + (UIColor *)skyeBlueColor
  93. {
  94. return [UIColor colorWithRed:0/255.0f green:178/255.0f blue:238/255.0f alpha:1.0];
  95. }
  96. + (UIColor *)indigoColor
  97. {
  98. return [UIColor colorWithRed:13/255.0f green:79/255.0f blue:139/255.0f alpha:1.0];
  99. }
  100. + (UIColor *)denimColor
  101. {
  102. return [UIColor colorWithRed:67/255.0f green:114/255.0f blue:170/255.0f alpha:1.0];
  103. }
  104. + (UIColor *)blueberryColor
  105. {
  106. return [UIColor colorWithRed:89/255.0f green:113/255.0f blue:173/255.0f alpha:1.0];
  107. }
  108. + (UIColor *)cornflowerColor
  109. {
  110. return [UIColor colorWithRed:100/255.0f green:149/255.0f blue:237/255.0f alpha:1.0];
  111. }
  112. + (UIColor *)babyBlueColor
  113. {
  114. return [UIColor colorWithRed:190/255.0f green:220/255.0f blue:230/255.0f alpha:1.0];
  115. }
  116. + (UIColor *)midnightBlueColor
  117. {
  118. return [UIColor colorWithRed:13/255.0f green:26/255.0f blue:35/255.0f alpha:1.0];
  119. }
  120. + (UIColor *)fadedBlueColor
  121. {
  122. return [UIColor colorWithRed:23/255.0f green:137/255.0f blue:155/255.0f alpha:1.0];
  123. }
  124. + (UIColor *)icebergColor
  125. {
  126. return [UIColor colorWithRed:200/255.0f green:213/255.0f blue:219/255.0f alpha:1.0];
  127. }
  128. + (UIColor *)waveColor
  129. {
  130. return [UIColor colorWithRed:102/255.0f green:169/255.0f blue:251/255.0f alpha:1.0];
  131. }
  132. #pragma mark - Greens
  133. + (UIColor *)emeraldColor
  134. {
  135. return [UIColor colorWithRed:1/255.0f green:152/255.0f blue:117/255.0f alpha:1.0];
  136. }
  137. + (UIColor *)grassColor
  138. {
  139. return [UIColor colorWithRed:99/255.0f green:214/255.0f blue:74/255.0f alpha:1.0];
  140. }
  141. + (UIColor *)pastelGreenColor
  142. {
  143. return [UIColor colorWithRed:126/255.0f green:242/255.0f blue:124/255.0f alpha:1.0];
  144. }
  145. + (UIColor *)seafoamColor
  146. {
  147. return [UIColor colorWithRed:77/255.0f green:226/255.0f blue:140/255.0f alpha:1.0];
  148. }
  149. + (UIColor *)paleGreenColor
  150. {
  151. return [UIColor colorWithRed:176/255.0f green:226/255.0f blue:172/255.0f alpha:1.0];
  152. }
  153. + (UIColor *)cactusGreenColor
  154. {
  155. return [UIColor colorWithRed:99/255.0f green:111/255.0f blue:87/255.0f alpha:1.0];
  156. }
  157. + (UIColor *)chartreuseColor
  158. {
  159. return [UIColor colorWithRed:69/255.0f green:139/255.0f blue:0/255.0f alpha:1.0];
  160. }
  161. + (UIColor *)hollyGreenColor
  162. {
  163. return [UIColor colorWithRed:32/255.0f green:87/255.0f blue:14/255.0f alpha:1.0];
  164. }
  165. + (UIColor *)oliveColor
  166. {
  167. return [UIColor colorWithRed:91/255.0f green:114/255.0f blue:34/255.0f alpha:1.0];
  168. }
  169. + (UIColor *)oliveDrabColor
  170. {
  171. return [UIColor colorWithRed:107/255.0f green:142/255.0f blue:35/255.0f alpha:1.0];
  172. }
  173. + (UIColor *)moneyGreenColor
  174. {
  175. return [UIColor colorWithRed:134/255.0f green:198/255.0f blue:124/255.0f alpha:1.0];
  176. }
  177. + (UIColor *)honeydewColor
  178. {
  179. return [UIColor colorWithRed:216/255.0f green:255/255.0f blue:231/255.0f alpha:1.0];
  180. }
  181. + (UIColor *)limeColor
  182. {
  183. return [UIColor colorWithRed:56/255.0f green:237/255.0f blue:56/255.0f alpha:1.0];
  184. }
  185. + (UIColor *)cardTableColor
  186. {
  187. return [UIColor colorWithRed:87/255.0f green:121/255.0f blue:107/255.0f alpha:1.0];
  188. }
  189. #pragma mark - Reds
  190. + (UIColor *)salmonColor
  191. {
  192. return [UIColor colorWithRed:233/255.0f green:87/255.0f blue:95/255.0f alpha:1.0];
  193. }
  194. + (UIColor *)brickRedColor
  195. {
  196. return [UIColor colorWithRed:151/255.0f green:27/255.0f blue:16/255.0f alpha:1.0];
  197. }
  198. + (UIColor *)easterPinkColor
  199. {
  200. return [UIColor colorWithRed:241/255.0f green:167/255.0f blue:162/255.0f alpha:1.0];
  201. }
  202. + (UIColor *)grapefruitColor
  203. {
  204. return [UIColor colorWithRed:228/255.0f green:31/255.0f blue:54/255.0f alpha:1.0];
  205. }
  206. + (UIColor *)pinkColor
  207. {
  208. return [UIColor colorWithRed:255/255.0f green:95/255.0f blue:154/255.0f alpha:1.0];
  209. }
  210. + (UIColor *)indianRedColor
  211. {
  212. return [UIColor colorWithRed:205/255.0f green:92/255.0f blue:92/255.0f alpha:1.0];
  213. }
  214. + (UIColor *)strawberryColor
  215. {
  216. return [UIColor colorWithRed:190/255.0f green:38/255.0f blue:37/255.0f alpha:1.0];
  217. }
  218. + (UIColor *)coralColor
  219. {
  220. return [UIColor colorWithRed:240/255.0f green:128/255.0f blue:128/255.0f alpha:1.0];
  221. }
  222. + (UIColor *)maroonColor
  223. {
  224. return [UIColor colorWithRed:80/255.0f green:4/255.0f blue:28/255.0f alpha:1.0];
  225. }
  226. + (UIColor *)watermelonColor
  227. {
  228. return [UIColor colorWithRed:242/255.0f green:71/255.0f blue:63/255.0f alpha:1.0];
  229. }
  230. + (UIColor *)tomatoColor
  231. {
  232. return [UIColor colorWithRed:255/255.0f green:99/255.0f blue:71/255.0f alpha:1.0];
  233. }
  234. + (UIColor *)pinkLipstickColor
  235. {
  236. return [UIColor colorWithRed:255/255.0f green:105/255.0f blue:180/255.0f alpha:1.0];
  237. }
  238. + (UIColor *)paleRoseColor
  239. {
  240. return [UIColor colorWithRed:255/255.0f green:228/255.0f blue:225/255.0f alpha:1.0];
  241. }
  242. + (UIColor *)crimsonColor
  243. {
  244. return [UIColor colorWithRed:187/255.0f green:18/255.0f blue:36/255.0f alpha:1.0];
  245. }
  246. #pragma mark - Purples
  247. + (UIColor *)eggplantColor
  248. {
  249. return [UIColor colorWithRed:105/255.0f green:5/255.0f blue:98/255.0f alpha:1.0];
  250. }
  251. + (UIColor *)pastelPurpleColor
  252. {
  253. return [UIColor colorWithRed:207/255.0f green:100/255.0f blue:235/255.0f alpha:1.0];
  254. }
  255. + (UIColor *)palePurpleColor
  256. {
  257. return [UIColor colorWithRed:229/255.0f green:180/255.0f blue:235/255.0f alpha:1.0];
  258. }
  259. + (UIColor *)coolPurpleColor
  260. {
  261. return [UIColor colorWithRed:140/255.0f green:93/255.0f blue:228/255.0f alpha:1.0];
  262. }
  263. + (UIColor *)violetColor
  264. {
  265. return [UIColor colorWithRed:191/255.0f green:95/255.0f blue:255/255.0f alpha:1.0];
  266. }
  267. + (UIColor *)plumColor
  268. {
  269. return [UIColor colorWithRed:139/255.0f green:102/255.0f blue:139/255.0f alpha:1.0];
  270. }
  271. + (UIColor *)lavenderColor
  272. {
  273. return [UIColor colorWithRed:204/255.0f green:153/255.0f blue:204/255.0f alpha:1.0];
  274. }
  275. + (UIColor *)raspberryColor
  276. {
  277. return [UIColor colorWithRed:135/255.0f green:38/255.0f blue:87/255.0f alpha:1.0];
  278. }
  279. + (UIColor *)fuschiaColor
  280. {
  281. return [UIColor colorWithRed:255/255.0f green:20/255.0f blue:147/255.0f alpha:1.0];
  282. }
  283. + (UIColor *)grapeColor
  284. {
  285. return [UIColor colorWithRed:54/255.0f green:11/255.0f blue:88/255.0f alpha:1.0];
  286. }
  287. + (UIColor *)periwinkleColor
  288. {
  289. return [UIColor colorWithRed:135/255.0f green:159/255.0f blue:237/255.0f alpha:1.0];
  290. }
  291. + (UIColor *)orchidColor
  292. {
  293. return [UIColor colorWithRed:218/255.0f green:112/255.0f blue:214/255.0f alpha:1.0];
  294. }
  295. #pragma mark - Yellows
  296. + (UIColor *)goldenrodColor
  297. {
  298. return [UIColor colorWithRed:215/255.0f green:170/255.0f blue:51/255.0f alpha:1.0];
  299. }
  300. + (UIColor *)yellowGreenColor
  301. {
  302. return [UIColor colorWithRed:192/255.0f green:242/255.0f blue:39/255.0f alpha:1.0];
  303. }
  304. + (UIColor *)bananaColor
  305. {
  306. return [UIColor colorWithRed:229/255.0f green:227/255.0f blue:58/255.0f alpha:1.0];
  307. }
  308. + (UIColor *)mustardColor
  309. {
  310. return [UIColor colorWithRed:205/255.0f green:171/255.0f blue:45/255.0f alpha:1.0];
  311. }
  312. + (UIColor *)buttermilkColor
  313. {
  314. return [UIColor colorWithRed:254/255.0f green:241/255.0f blue:181/255.0f alpha:1.0];
  315. }
  316. + (UIColor *)goldColor
  317. {
  318. return [UIColor colorWithRed:139/255.0f green:117/255.0f blue:18/255.0f alpha:1.0];
  319. }
  320. + (UIColor *)creamColor
  321. {
  322. return [UIColor colorWithRed:240/255.0f green:226/255.0f blue:187/255.0f alpha:1.0];
  323. }
  324. + (UIColor *)lightCreamColor
  325. {
  326. return [UIColor colorWithRed:240/255.0f green:238/255.0f blue:215/255.0f alpha:1.0];
  327. }
  328. + (UIColor *)wheatColor
  329. {
  330. return [UIColor colorWithRed:240/255.0f green:238/255.0f blue:215/255.0f alpha:1.0];
  331. }
  332. + (UIColor *)beigeColor
  333. {
  334. return [UIColor colorWithRed:245/255.0f green:245/255.0f blue:220/255.0f alpha:1.0];
  335. }
  336. #pragma mark - Oranges
  337. + (UIColor *)peachColor
  338. {
  339. return [UIColor colorWithRed:242/255.0f green:187/255.0f blue:97/255.0f alpha:1.0];
  340. }
  341. + (UIColor *)burntOrangeColor
  342. {
  343. return [UIColor colorWithRed:184/255.0f green:102/255.0f blue:37/255.0f alpha:1.0];
  344. }
  345. + (UIColor *)pastelOrangeColor
  346. {
  347. return [UIColor colorWithRed:248/255.0f green:197/255.0f blue:143/255.0f alpha:1.0];
  348. }
  349. + (UIColor *)cantaloupeColor
  350. {
  351. return [UIColor colorWithRed:250/255.0f green:154/255.0f blue:79/255.0f alpha:1.0];
  352. }
  353. + (UIColor *)carrotColor
  354. {
  355. return [UIColor colorWithRed:237/255.0f green:145/255.0f blue:33/255.0f alpha:1.0];
  356. }
  357. + (UIColor *)mandarinColor
  358. {
  359. return [UIColor colorWithRed:247/255.0f green:145/255.0f blue:55/255.0f alpha:1.0];
  360. }
  361. #pragma mark - Browns
  362. + (UIColor *)chiliPowderColor
  363. {
  364. return [UIColor colorWithRed:199/255.0f green:63/255.0f blue:23/255.0f alpha:1.0];
  365. }
  366. + (UIColor *)burntSiennaColor
  367. {
  368. return [UIColor colorWithRed:138/255.0f green:54/255.0f blue:15/255.0f alpha:1.0];
  369. }
  370. + (UIColor *)chocolateColor
  371. {
  372. return [UIColor colorWithRed:94/255.0f green:38/255.0f blue:5/255.0f alpha:1.0];
  373. }
  374. + (UIColor *)coffeeColor
  375. {
  376. return [UIColor colorWithRed:141/255.0f green:60/255.0f blue:15/255.0f alpha:1.0];
  377. }
  378. + (UIColor *)cinnamonColor
  379. {
  380. return [UIColor colorWithRed:123/255.0f green:63/255.0f blue:9/255.0f alpha:1.0];
  381. }
  382. + (UIColor *)almonColor
  383. {
  384. return [UIColor colorWithRed:196/255.0f green:142/255.0f blue:72/255.0f alpha:1.0];
  385. }
  386. + (UIColor *)eggshellColor
  387. {
  388. return [UIColor colorWithRed:252/255.0f green:230/255.0f blue:201/255.0f alpha:1.0];
  389. }
  390. + (UIColor *)sandColor
  391. {
  392. return [UIColor colorWithRed:222/255.0f green:182/255.0f blue:151/255.0f alpha:1.0];
  393. }
  394. + (UIColor *)mudColor
  395. {
  396. return [UIColor colorWithRed:70/255.0f green:45/255.0f blue:29/255.0f alpha:1.0];
  397. }
  398. + (UIColor *)siennaColor
  399. {
  400. return [UIColor colorWithRed:160/255.0f green:82/255.0f blue:45/255.0f alpha:1.0];
  401. }
  402. + (UIColor *)dustColor
  403. {
  404. return [UIColor colorWithRed:236/255.0f green:214/255.0f blue:197/255.0f alpha:1.0];
  405. }
色 彩 RGB  值 对 照 表
 
color
red
green
blue
Hexadecimal triplet
example
Aliceblue
240
248
255
f0f8ff
 
Antiquewhite
250
235
215
faebd7
 
Aqua
0
255
255
00ffff
 
Aquamarine
127
255
212
7fffd4
 
Azure
240
255
255
f0ffff
 
Beige
245
245
220
f5f5dc
 
Bisque
255
228
196
ffe4c4
 
Black
0
0
0
000000
 
Blanchedalmond
255
235
205
ffebcd
 
Blue
0
0
255
0000ff
 
Blueviolet
138
43
226
8a2be2
 
Brown
165
42
42
a52a2a
 
Burlywood
222
184
135
deb887
 
Cadetblue
95
158
160
5f9ea0
 
Chartruse
127
255
0
7fff00
 
Chocolate
210
105
30
d2691e
 
Coral
255
127
80
ff7f50
 
Cornflowerblue
100
149
237
6495ed
 
Cornsilk
255
248
220
fff8dc
 
Crimson
220
20
60
dc143c
 
Cyan
0
255
255
00ffff
 
Darkblue
0
0
139
00008b
 
Darkcyan
0
139
139
008b8b
 
Darkgoldenrod
184
134
11
b8860b
 
Darkgray
169
169
169
a9a9a9
 
Darkgreen
0
100
0
006400
 
Darkkhaki
189
183
107
bdb76b
 
Darkmagenta
139
0
139
8b008b
 
Darkolivegreen
85
107
47
556b2f
 
Darkorange
255
140
0
ff8c00
 
Darkorchid
153
50
204
9932cc
 
Darksalmon
233
150
122
e9967a
 
Darkseagreen
143
188
143
8fbc8f
 
Darkslateblue
72
61
139
483d8b
 
Darkslategray
47
79
79
2f4f4f
 
Darkturquoise
0
206
209
00ced1
 
Darkviolet
148
0
211
9400d3
 
Deeppink
255
20
147
ff1493
 
Deepskyblue
0
191
255
00bfff
 
Dimgray
105
105
105
696969
 
Dodgerblue
30
144
255
le90ff
 
Firebrick
178
34
34
b22222
 
Floralwhite
255
250
240
fffaf0
 
Forestgreen
34
193
34
228b22
 
Fuchsia
255
0
255
ff00ff
 
Gainsboro
220
220
220
dcdcdc
 
Ghostwhite
248
248
255
f8f8ff
 
Gold
255
215
0
ffd700
 
Goldenrod
218
165
32
daa520
 
Gray
128
128
128
808080
 
Green
0
128
0
008000
 
Greenyellow
173
255
47
adff2f
 
Honeydew
240
255
240
f0fff0
 
Hotpink
255
105
180
ff69b4
 
Indianred
205
92
92
cd5c5c
 
Indigo
75
0
130
4b0082
 
Ivory
255
255
240
fffff0
 
Khaki
240
230
140
f0e68c
 
Lavender
230
230
250
e6e6fa
 
Lavenderblush
255
240
245
fff0f5
 
lawngreen
124
252
0
7cfc00
 
Lemonchiffon
255
250
205
fffacd
 
Lightblue
173
216
230
add8e6
 
Lightcoral
240
128
128
f08080
 
Lightcyan
224
255
255
e0ffff
 
Lightgoldenrodyellow
250
250
210
fafad2
 
Lightgreen
144
238
144
90ee90
 
Lightgrey
211
211
211
d3d3d3
 
Lightpink
255
182
193
ffb6c1
 
Lightsalmon
255
160
122
ffa07a
 
Lightseagreen
32
178
170
20b2aa
 
Lightskyblue
135
206
250
87cefa
 
Lightslategray
119
136
153
778899
 
Lightsteelblue
176
196
222
b0c4de
 
Lightyellow
255
255
224
ffffe0
 
Lime
0
255
0
00ff00
 
Limegreen
50
205
50
32cd32
 
Linen
250
240
230
faf0e6
 
Magenta
255
0
255
ff00ff
 
Maroon
128
0
0
800000
 
Mediumaquamarine
102
205
170
66cdaa
 
Mediumblue
0
0
205
0000cd
 
Mediumorchid
186
85
211
ba55d3
 
Mediumpurple
147
112
219
9370d6
 
Mediumseagreen
60
179
113
3cb371
 
Mediumslateblue
123
104
238
7b68ee
 
Mediumspringgreen
0
250
154
00fa9a
 
Mediumturquoise
72
209
204
48d1cc
 
Mediumvioletred
199
21
133
c71585
 
Midnightblue
25
25
112
191970
 
Mintcream
245
255
250
f5fffa
 
Mistyrose
255
228
225
ffe4e1
 
Moccasin
255
228
181
ffe4b5
 
Navajowhite
255
222
173
ffdead
 
Navy
0
0
128
000080
 
Oldlace
253
245
230
fdf5e6
 
Olive
128
128
0
808000
 
Olivedrab
107
142
35
6b8e23
 
Orange
255
165
0
ffa500
 
Orangered
255
69
0
ff4500
 
Orchid
218
112
214
da70d6
 
Palegoldenrod
238
232
170
eee8aa
 
Palegreen
152
251
152
98fb98
 
Paleturquoise
175
238
238
afeeee
 
Palevioletred
219
112
147
db7093
 
Papayawhip
255
239
213
ffefd5
 
Peachpuff
255
218
185
ffdab9
 
Peru
205
133
63
cd853f
 
Pink
255
192
203
ffc0cb
 
Plum
221
160
221
dda0dd
 
Powderblue
176
224
230
b0e0dd
 
Purple
128
0
128
800080
 
Red
255
0
0
ff0000
 
Rosybrown
188
0
143
bc8f8f
 
Royalblue
65
105
225
41169e1
 
Saddlebrown
139
69
19
8b4513
 
Salmon
250
128
114
fa8072
 
Sandybrown
244
164
96
f4a460
 
Seagreen
46
139
87
2e8b57
 
Seashell
255
245
238
fff5ee
 
Sienna
160
82
45
a0522d
 
Silver
192
192
192
c0c0c0
 
Skyblue
135
206
235
87ceeb
 
Slateblue
106
90
205
6a5acd
 
Slategray
112
128
144
708090
 
Snow
255
250
250
fffafa
 
Springgreen
0
255
127
00ff7f
 
Steelblue
70
130
180
4682b4
 
Tan
210
180
140
d2b48c
 
Teal
0
128
128
008080
 
Thistle
216
191
216
d8bfd8
 
Tomato
255
99
71
ff6347
 
Turquoise
64
224
208
40e0d0
 
Violet
238
130
238
ee82ee
 
Wheat
245
223
179
f5deb3
 
White
255
255
255
ffffff
 
Whitesmoke
245
245
245
f5f5f5
 
Yellow
255
255
0
ffff00
 
Yellowgreen
154
205
50
9acd32
 
 

IOS学习之路二十四(custom 漂亮的UIColor)的更多相关文章

  1. IOS学习之路二十四(UIImageView 加载gif图片)

    UIImageView 怎样加载一个gif图片我还不知道(会的大神请指教),不过可以通过加载不同的图片实现gif效果 代码如下: UIImageView* animatedImageView = [[ ...

  2. IOS学习之路二十(程序json转换数据的中文字符问题解决)

    ios请求web中的json数据的时候经常出现乱码问题: 例如请求结果可能如下:"\U00e5\U00a5\U00bd\U00e8\U00ae\U00a4" 在网上查到的解决方法是 ...

  3. 嵌入式Linux驱动学习之路(二十四)Nor Flash驱动程序

    Nor Flash和Nand Flash的不同: 类型 NOR Flash  Nand Flash  接口 RAM-like,引脚多 引脚少 容量 小(1M.2M...) 大(512M.1G) 读 简 ...

  4. IOS学习之路二十二(UIAlertView获得文本框内容及添加北京图片)

    今天写项目要用到警告框带输入框的,于是就自己做了个小demo. 效果图大体如下: 下面简单介绍一下UIAlertView alertViewStyle属性有以下三种选项:  UIAlertViewSt ...

  5. FastAPI 学习之路(十四)响应模型

    系列文章: FastAPI 学习之路(一)fastapi--高性能web开发框架 FastAPI 学习之路(二) FastAPI 学习之路(三) FastAPI 学习之路(四) FastAPI 学习之 ...

  6. Android学习路线(二十四)ActionBar Fragment运用最佳实践

    转载请注明出处:http://blog.csdn.net/sweetvvck/article/details/38645297 通过前面的几篇博客.大家看到了Google是怎样解释action bar ...

  7. Hive学习之路 (十四)Hive分析窗口函数(二) NTILE,ROW_NUMBER,RANK,DENSE_RANK

    概述 本文中介绍前几个序列函数,NTILE,ROW_NUMBER,RANK,DENSE_RANK,下面会一一解释各自的用途. 注意: 序列函数不支持WINDOW子句.(ROWS BETWEEN) 数据 ...

  8. IOS开发---菜鸟学习之路--(十四)-将BASE64图片转换成Image

    本文基本全部都是代码 首先是.H文件 #import <Foundation/Foundation.h> @interface Base64AndImageHelp : NSObject ...

  9. Android破解学习之路(十四)——【Unity3D】王牌大作战破解

    一.前言 今天带来的是王牌大作战的破解教程,游戏下载的话,我是直接去TapTap官网下载的 支付宝内购破解用老套了,今天学点破解的新花样吧!! 二.支付宝内购破解 支付宝的内购破解已经很熟悉了, 直接 ...

随机推荐

  1. ArcGIS网络分析之Silverlight客户端最近设施点分析(四)

    原文:ArcGIS网络分析之Silverlight客户端最近设施点分析(四) 在上一篇中说了如何实现最近路径分析,本篇将讨论如何实现最近设施点分析. 最近设施点分析实际上和路径分析有些相识,实现的过程 ...

  2. WeakReference and WeakHashMap

    弱引用通过WeakReference类实现,弱引用和软引用很像,但弱引用的引用级别更低.对于只有弱引用的对象而言,当系统垃圾回收机制运行时,不管系统北村是否足够,总会回收该对象所占用的内存.当然,并不 ...

  3. Socket 学习(二)

    1对1的发送和接收 Client 端         void ThreadReceive()         {             try             {              ...

  4. tomcat的webapps文件夹下放更新后的项目就訪问不了

    昨天给同事更新完程序,同事说更新后的程序訪问不了.它曾经的程序叫tj52,更新后的程序叫webapp.也就是tomcat的文件夹有两个文件架,一个叫webapp,一个叫tj52.最后另外一同事给了解决 ...

  5. 调试经验--硬盘U菜

    调试经验--硬盘U菜 随着嵌入式设备功能的开发,随着对存储设备的需求:需要存储大量数据信息.需要在转储数据,U盘升级功能等.     在使用存储设备的过程中,我们遇到一些问题,也总结了些经验: 1.几 ...

  6. C语言连接Oracle

    原文:C语言连接Oracle 最近在搞C语言连接Oracle.DB2数据库,现把C连接Oracle的文章总结下: 用C语言连接ORACLE数据库.有两个思路和目的 思路一)本地环境:UBUNTU 7. ...

  7. Oracle 11g for Windows 简体中文版的安装过程

    原文:Oracle 11g for Windows 简体中文版的安装过程 我的配置 操作系统:Windows Server 2003 sp2 内存:1024M以上 1.下载Oracle 11g 地址 ...

  8. [翻译]MEAN.IO与MEAN.JS的前世今生

    写在前面: 因为项目要求要学习mean,所以要从搭建环境开始,网上的教程不怎么多,但是感觉方法倒是不少,也没多想,就开始安装,运行起来发现怎么和安装教程中的目录结构不同? 想了好久,也翻看目录半天,总 ...

  9. Cocos2d-x3.0 Json解析

    2dx3.0下一个JSON解析库官员以及集成.我们参考一下吧OK. JSON文件hello.json内容 {"pets":["dog","cat&qu ...

  10. openwrt路由器更换了Flash之后需要修改的源码

    假如我使用的是WR703N,改为8M内存: 1 修改openwrt/target/linux/ar71xx/image/Makefile文件 $(eval $(call SingleProfile,T ...