IOS学习之路二十四(custom 漂亮的UIColor)
下面简单列举一下漂亮的和颜色,大家也可以自己依次试一试选出自己喜欢的。
转载请注明
本文转自:http://blog.csdn.net/wildcatlele/article/details/12350431
新浪微博:http://weibo.com/u/3202802157
- + (UIColor *)infoBlueColor
- {
- return [UIColor colorWithRed:47/255.0f green:112/255.0f blue:225/255.0f alpha:1.0];
- }
- + (UIColor *)successColor
- {
- return [UIColor colorWithRed:25/255.0f green:188/255.0f blue:63/255.0f alpha:1.0];
- }
- + (UIColor *)warningColor
- {
- return [UIColor colorWithRed:221/255.0f green:170/255.0f blue:59/255.0f alpha:1.0];
- }
- + (UIColor *)dangerColor
- {
- return [UIColor colorWithRed:229/255.0f green:0/255.0f blue:15/255.0f alpha:1.0];
- }
- #pragma mark - Whites
- + (UIColor *)antiqueWhiteColor
- {
- return [UIColor colorWithRed:250/255.0f green:235/255.0f blue:215/255.0f alpha:1.0];
- }
- + (UIColor *)oldLaceColor
- {
- return [UIColor colorWithRed:253/255.0f green:245/255.0f blue:230/255.0f alpha:1.0];
- }
- + (UIColor *)ivoryColor
- {
- return [UIColor colorWithRed:255/255.0f green:255/255.0f blue:240/255.0f alpha:1.0];
- }
- + (UIColor *)seashellColor
- {
- return [UIColor colorWithRed:255/255.0f green:245/255.0f blue:238/255.0f alpha:1.0];
- }
- + (UIColor *)ghostWhiteColor
- {
- return [UIColor colorWithRed:248/255.0f green:248/255.0f blue:255/255.0f alpha:1.0];
- }
- + (UIColor *)snowColor
- {
- return [UIColor colorWithRed:255/255.0f green:250/255.0f blue:250/255.0f alpha:1.0];
- }
- + (UIColor *)linenColor
- {
- return [UIColor colorWithRed:250/255.0f green:240/255.0f blue:230/255.0f alpha:1.0];
- }
- #pragma mark - Grays
- + (UIColor *)black25PercentColor
- {
- return [UIColor colorWithWhite:0.25 alpha:1.0];
- }
- + (UIColor *)black50PercentColor
- {
- return [UIColor colorWithWhite:0.5 alpha:1.0];
- }
- + (UIColor *)black75PercentColor
- {
- return [UIColor colorWithWhite:0.75 alpha:1.0];
- }
- + (UIColor *)warmGrayColor
- {
- return [UIColor colorWithRed:133/255.0f green:117/255.0f blue:112/255.0f alpha:1.0];
- }
- + (UIColor *)coolGrayColor
- {
- return [UIColor colorWithRed:118/255.0f green:122/255.0f blue:133/255.0f alpha:1.0];
- }
- + (UIColor *)charcoalColor
- {
- return [UIColor colorWithRed:34/255.0f green:34/255.0f blue:34/255.0f alpha:1.0];
- }
- #pragma mark - Blues
- + (UIColor *)tealColor
- {
- return [UIColor colorWithRed:28/255.0f green:160/255.0f blue:170/255.0f alpha:1.0];
- }
- + (UIColor *)steelBlueColor
- {
- return [UIColor colorWithRed:103/255.0f green:153/255.0f blue:170/255.0f alpha:1.0];
- }
- + (UIColor *)robinEggColor
- {
- return [UIColor colorWithRed:141/255.0f green:218/255.0f blue:247/255.0f alpha:1.0];
- }
- + (UIColor *)pastelBlueColor
- {
- return [UIColor colorWithRed:99/255.0f green:161/255.0f blue:247/255.0f alpha:1.0];
- }
- + (UIColor *)turquoiseColor
- {
- return [UIColor colorWithRed:112/255.0f green:219/255.0f blue:219/255.0f alpha:1.0];
- }
- + (UIColor *)skyeBlueColor
- {
- return [UIColor colorWithRed:0/255.0f green:178/255.0f blue:238/255.0f alpha:1.0];
- }
- + (UIColor *)indigoColor
- {
- return [UIColor colorWithRed:13/255.0f green:79/255.0f blue:139/255.0f alpha:1.0];
- }
- + (UIColor *)denimColor
- {
- return [UIColor colorWithRed:67/255.0f green:114/255.0f blue:170/255.0f alpha:1.0];
- }
- + (UIColor *)blueberryColor
- {
- return [UIColor colorWithRed:89/255.0f green:113/255.0f blue:173/255.0f alpha:1.0];
- }
- + (UIColor *)cornflowerColor
- {
- return [UIColor colorWithRed:100/255.0f green:149/255.0f blue:237/255.0f alpha:1.0];
- }
- + (UIColor *)babyBlueColor
- {
- return [UIColor colorWithRed:190/255.0f green:220/255.0f blue:230/255.0f alpha:1.0];
- }
- + (UIColor *)midnightBlueColor
- {
- return [UIColor colorWithRed:13/255.0f green:26/255.0f blue:35/255.0f alpha:1.0];
- }
- + (UIColor *)fadedBlueColor
- {
- return [UIColor colorWithRed:23/255.0f green:137/255.0f blue:155/255.0f alpha:1.0];
- }
- + (UIColor *)icebergColor
- {
- return [UIColor colorWithRed:200/255.0f green:213/255.0f blue:219/255.0f alpha:1.0];
- }
- + (UIColor *)waveColor
- {
- return [UIColor colorWithRed:102/255.0f green:169/255.0f blue:251/255.0f alpha:1.0];
- }
- #pragma mark - Greens
- + (UIColor *)emeraldColor
- {
- return [UIColor colorWithRed:1/255.0f green:152/255.0f blue:117/255.0f alpha:1.0];
- }
- + (UIColor *)grassColor
- {
- return [UIColor colorWithRed:99/255.0f green:214/255.0f blue:74/255.0f alpha:1.0];
- }
- + (UIColor *)pastelGreenColor
- {
- return [UIColor colorWithRed:126/255.0f green:242/255.0f blue:124/255.0f alpha:1.0];
- }
- + (UIColor *)seafoamColor
- {
- return [UIColor colorWithRed:77/255.0f green:226/255.0f blue:140/255.0f alpha:1.0];
- }
- + (UIColor *)paleGreenColor
- {
- return [UIColor colorWithRed:176/255.0f green:226/255.0f blue:172/255.0f alpha:1.0];
- }
- + (UIColor *)cactusGreenColor
- {
- return [UIColor colorWithRed:99/255.0f green:111/255.0f blue:87/255.0f alpha:1.0];
- }
- + (UIColor *)chartreuseColor
- {
- return [UIColor colorWithRed:69/255.0f green:139/255.0f blue:0/255.0f alpha:1.0];
- }
- + (UIColor *)hollyGreenColor
- {
- return [UIColor colorWithRed:32/255.0f green:87/255.0f blue:14/255.0f alpha:1.0];
- }
- + (UIColor *)oliveColor
- {
- return [UIColor colorWithRed:91/255.0f green:114/255.0f blue:34/255.0f alpha:1.0];
- }
- + (UIColor *)oliveDrabColor
- {
- return [UIColor colorWithRed:107/255.0f green:142/255.0f blue:35/255.0f alpha:1.0];
- }
- + (UIColor *)moneyGreenColor
- {
- return [UIColor colorWithRed:134/255.0f green:198/255.0f blue:124/255.0f alpha:1.0];
- }
- + (UIColor *)honeydewColor
- {
- return [UIColor colorWithRed:216/255.0f green:255/255.0f blue:231/255.0f alpha:1.0];
- }
- + (UIColor *)limeColor
- {
- return [UIColor colorWithRed:56/255.0f green:237/255.0f blue:56/255.0f alpha:1.0];
- }
- + (UIColor *)cardTableColor
- {
- return [UIColor colorWithRed:87/255.0f green:121/255.0f blue:107/255.0f alpha:1.0];
- }
- #pragma mark - Reds
- + (UIColor *)salmonColor
- {
- return [UIColor colorWithRed:233/255.0f green:87/255.0f blue:95/255.0f alpha:1.0];
- }
- + (UIColor *)brickRedColor
- {
- return [UIColor colorWithRed:151/255.0f green:27/255.0f blue:16/255.0f alpha:1.0];
- }
- + (UIColor *)easterPinkColor
- {
- return [UIColor colorWithRed:241/255.0f green:167/255.0f blue:162/255.0f alpha:1.0];
- }
- + (UIColor *)grapefruitColor
- {
- return [UIColor colorWithRed:228/255.0f green:31/255.0f blue:54/255.0f alpha:1.0];
- }
- + (UIColor *)pinkColor
- {
- return [UIColor colorWithRed:255/255.0f green:95/255.0f blue:154/255.0f alpha:1.0];
- }
- + (UIColor *)indianRedColor
- {
- return [UIColor colorWithRed:205/255.0f green:92/255.0f blue:92/255.0f alpha:1.0];
- }
- + (UIColor *)strawberryColor
- {
- return [UIColor colorWithRed:190/255.0f green:38/255.0f blue:37/255.0f alpha:1.0];
- }
- + (UIColor *)coralColor
- {
- return [UIColor colorWithRed:240/255.0f green:128/255.0f blue:128/255.0f alpha:1.0];
- }
- + (UIColor *)maroonColor
- {
- return [UIColor colorWithRed:80/255.0f green:4/255.0f blue:28/255.0f alpha:1.0];
- }
- + (UIColor *)watermelonColor
- {
- return [UIColor colorWithRed:242/255.0f green:71/255.0f blue:63/255.0f alpha:1.0];
- }
- + (UIColor *)tomatoColor
- {
- return [UIColor colorWithRed:255/255.0f green:99/255.0f blue:71/255.0f alpha:1.0];
- }
- + (UIColor *)pinkLipstickColor
- {
- return [UIColor colorWithRed:255/255.0f green:105/255.0f blue:180/255.0f alpha:1.0];
- }
- + (UIColor *)paleRoseColor
- {
- return [UIColor colorWithRed:255/255.0f green:228/255.0f blue:225/255.0f alpha:1.0];
- }
- + (UIColor *)crimsonColor
- {
- return [UIColor colorWithRed:187/255.0f green:18/255.0f blue:36/255.0f alpha:1.0];
- }
- #pragma mark - Purples
- + (UIColor *)eggplantColor
- {
- return [UIColor colorWithRed:105/255.0f green:5/255.0f blue:98/255.0f alpha:1.0];
- }
- + (UIColor *)pastelPurpleColor
- {
- return [UIColor colorWithRed:207/255.0f green:100/255.0f blue:235/255.0f alpha:1.0];
- }
- + (UIColor *)palePurpleColor
- {
- return [UIColor colorWithRed:229/255.0f green:180/255.0f blue:235/255.0f alpha:1.0];
- }
- + (UIColor *)coolPurpleColor
- {
- return [UIColor colorWithRed:140/255.0f green:93/255.0f blue:228/255.0f alpha:1.0];
- }
- + (UIColor *)violetColor
- {
- return [UIColor colorWithRed:191/255.0f green:95/255.0f blue:255/255.0f alpha:1.0];
- }
- + (UIColor *)plumColor
- {
- return [UIColor colorWithRed:139/255.0f green:102/255.0f blue:139/255.0f alpha:1.0];
- }
- + (UIColor *)lavenderColor
- {
- return [UIColor colorWithRed:204/255.0f green:153/255.0f blue:204/255.0f alpha:1.0];
- }
- + (UIColor *)raspberryColor
- {
- return [UIColor colorWithRed:135/255.0f green:38/255.0f blue:87/255.0f alpha:1.0];
- }
- + (UIColor *)fuschiaColor
- {
- return [UIColor colorWithRed:255/255.0f green:20/255.0f blue:147/255.0f alpha:1.0];
- }
- + (UIColor *)grapeColor
- {
- return [UIColor colorWithRed:54/255.0f green:11/255.0f blue:88/255.0f alpha:1.0];
- }
- + (UIColor *)periwinkleColor
- {
- return [UIColor colorWithRed:135/255.0f green:159/255.0f blue:237/255.0f alpha:1.0];
- }
- + (UIColor *)orchidColor
- {
- return [UIColor colorWithRed:218/255.0f green:112/255.0f blue:214/255.0f alpha:1.0];
- }
- #pragma mark - Yellows
- + (UIColor *)goldenrodColor
- {
- return [UIColor colorWithRed:215/255.0f green:170/255.0f blue:51/255.0f alpha:1.0];
- }
- + (UIColor *)yellowGreenColor
- {
- return [UIColor colorWithRed:192/255.0f green:242/255.0f blue:39/255.0f alpha:1.0];
- }
- + (UIColor *)bananaColor
- {
- return [UIColor colorWithRed:229/255.0f green:227/255.0f blue:58/255.0f alpha:1.0];
- }
- + (UIColor *)mustardColor
- {
- return [UIColor colorWithRed:205/255.0f green:171/255.0f blue:45/255.0f alpha:1.0];
- }
- + (UIColor *)buttermilkColor
- {
- return [UIColor colorWithRed:254/255.0f green:241/255.0f blue:181/255.0f alpha:1.0];
- }
- + (UIColor *)goldColor
- {
- return [UIColor colorWithRed:139/255.0f green:117/255.0f blue:18/255.0f alpha:1.0];
- }
- + (UIColor *)creamColor
- {
- return [UIColor colorWithRed:240/255.0f green:226/255.0f blue:187/255.0f alpha:1.0];
- }
- + (UIColor *)lightCreamColor
- {
- return [UIColor colorWithRed:240/255.0f green:238/255.0f blue:215/255.0f alpha:1.0];
- }
- + (UIColor *)wheatColor
- {
- return [UIColor colorWithRed:240/255.0f green:238/255.0f blue:215/255.0f alpha:1.0];
- }
- + (UIColor *)beigeColor
- {
- return [UIColor colorWithRed:245/255.0f green:245/255.0f blue:220/255.0f alpha:1.0];
- }
- #pragma mark - Oranges
- + (UIColor *)peachColor
- {
- return [UIColor colorWithRed:242/255.0f green:187/255.0f blue:97/255.0f alpha:1.0];
- }
- + (UIColor *)burntOrangeColor
- {
- return [UIColor colorWithRed:184/255.0f green:102/255.0f blue:37/255.0f alpha:1.0];
- }
- + (UIColor *)pastelOrangeColor
- {
- return [UIColor colorWithRed:248/255.0f green:197/255.0f blue:143/255.0f alpha:1.0];
- }
- + (UIColor *)cantaloupeColor
- {
- return [UIColor colorWithRed:250/255.0f green:154/255.0f blue:79/255.0f alpha:1.0];
- }
- + (UIColor *)carrotColor
- {
- return [UIColor colorWithRed:237/255.0f green:145/255.0f blue:33/255.0f alpha:1.0];
- }
- + (UIColor *)mandarinColor
- {
- return [UIColor colorWithRed:247/255.0f green:145/255.0f blue:55/255.0f alpha:1.0];
- }
- #pragma mark - Browns
- + (UIColor *)chiliPowderColor
- {
- return [UIColor colorWithRed:199/255.0f green:63/255.0f blue:23/255.0f alpha:1.0];
- }
- + (UIColor *)burntSiennaColor
- {
- return [UIColor colorWithRed:138/255.0f green:54/255.0f blue:15/255.0f alpha:1.0];
- }
- + (UIColor *)chocolateColor
- {
- return [UIColor colorWithRed:94/255.0f green:38/255.0f blue:5/255.0f alpha:1.0];
- }
- + (UIColor *)coffeeColor
- {
- return [UIColor colorWithRed:141/255.0f green:60/255.0f blue:15/255.0f alpha:1.0];
- }
- + (UIColor *)cinnamonColor
- {
- return [UIColor colorWithRed:123/255.0f green:63/255.0f blue:9/255.0f alpha:1.0];
- }
- + (UIColor *)almonColor
- {
- return [UIColor colorWithRed:196/255.0f green:142/255.0f blue:72/255.0f alpha:1.0];
- }
- + (UIColor *)eggshellColor
- {
- return [UIColor colorWithRed:252/255.0f green:230/255.0f blue:201/255.0f alpha:1.0];
- }
- + (UIColor *)sandColor
- {
- return [UIColor colorWithRed:222/255.0f green:182/255.0f blue:151/255.0f alpha:1.0];
- }
- + (UIColor *)mudColor
- {
- return [UIColor colorWithRed:70/255.0f green:45/255.0f blue:29/255.0f alpha:1.0];
- }
- + (UIColor *)siennaColor
- {
- return [UIColor colorWithRed:160/255.0f green:82/255.0f blue:45/255.0f alpha:1.0];
- }
- + (UIColor *)dustColor
- {
- return [UIColor colorWithRed:236/255.0f green:214/255.0f blue:197/255.0f alpha:1.0];
- }
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)的更多相关文章
- IOS学习之路二十四(UIImageView 加载gif图片)
UIImageView 怎样加载一个gif图片我还不知道(会的大神请指教),不过可以通过加载不同的图片实现gif效果 代码如下: UIImageView* animatedImageView = [[ ...
- IOS学习之路二十(程序json转换数据的中文字符问题解决)
ios请求web中的json数据的时候经常出现乱码问题: 例如请求结果可能如下:"\U00e5\U00a5\U00bd\U00e8\U00ae\U00a4" 在网上查到的解决方法是 ...
- 嵌入式Linux驱动学习之路(二十四)Nor Flash驱动程序
Nor Flash和Nand Flash的不同: 类型 NOR Flash Nand Flash 接口 RAM-like,引脚多 引脚少 容量 小(1M.2M...) 大(512M.1G) 读 简 ...
- IOS学习之路二十二(UIAlertView获得文本框内容及添加北京图片)
今天写项目要用到警告框带输入框的,于是就自己做了个小demo. 效果图大体如下: 下面简单介绍一下UIAlertView alertViewStyle属性有以下三种选项: UIAlertViewSt ...
- FastAPI 学习之路(十四)响应模型
系列文章: FastAPI 学习之路(一)fastapi--高性能web开发框架 FastAPI 学习之路(二) FastAPI 学习之路(三) FastAPI 学习之路(四) FastAPI 学习之 ...
- Android学习路线(二十四)ActionBar Fragment运用最佳实践
转载请注明出处:http://blog.csdn.net/sweetvvck/article/details/38645297 通过前面的几篇博客.大家看到了Google是怎样解释action bar ...
- Hive学习之路 (十四)Hive分析窗口函数(二) NTILE,ROW_NUMBER,RANK,DENSE_RANK
概述 本文中介绍前几个序列函数,NTILE,ROW_NUMBER,RANK,DENSE_RANK,下面会一一解释各自的用途. 注意: 序列函数不支持WINDOW子句.(ROWS BETWEEN) 数据 ...
- IOS开发---菜鸟学习之路--(十四)-将BASE64图片转换成Image
本文基本全部都是代码 首先是.H文件 #import <Foundation/Foundation.h> @interface Base64AndImageHelp : NSObject ...
- Android破解学习之路(十四)——【Unity3D】王牌大作战破解
一.前言 今天带来的是王牌大作战的破解教程,游戏下载的话,我是直接去TapTap官网下载的 支付宝内购破解用老套了,今天学点破解的新花样吧!! 二.支付宝内购破解 支付宝的内购破解已经很熟悉了, 直接 ...
随机推荐
- ArcGIS网络分析之Silverlight客户端最近设施点分析(四)
原文:ArcGIS网络分析之Silverlight客户端最近设施点分析(四) 在上一篇中说了如何实现最近路径分析,本篇将讨论如何实现最近设施点分析. 最近设施点分析实际上和路径分析有些相识,实现的过程 ...
- WeakReference and WeakHashMap
弱引用通过WeakReference类实现,弱引用和软引用很像,但弱引用的引用级别更低.对于只有弱引用的对象而言,当系统垃圾回收机制运行时,不管系统北村是否足够,总会回收该对象所占用的内存.当然,并不 ...
- Socket 学习(二)
1对1的发送和接收 Client 端 void ThreadReceive() { try { ...
- tomcat的webapps文件夹下放更新后的项目就訪问不了
昨天给同事更新完程序,同事说更新后的程序訪问不了.它曾经的程序叫tj52,更新后的程序叫webapp.也就是tomcat的文件夹有两个文件架,一个叫webapp,一个叫tj52.最后另外一同事给了解决 ...
- 调试经验--硬盘U菜
调试经验--硬盘U菜 随着嵌入式设备功能的开发,随着对存储设备的需求:需要存储大量数据信息.需要在转储数据,U盘升级功能等. 在使用存储设备的过程中,我们遇到一些问题,也总结了些经验: 1.几 ...
- C语言连接Oracle
原文:C语言连接Oracle 最近在搞C语言连接Oracle.DB2数据库,现把C连接Oracle的文章总结下: 用C语言连接ORACLE数据库.有两个思路和目的 思路一)本地环境:UBUNTU 7. ...
- Oracle 11g for Windows 简体中文版的安装过程
原文:Oracle 11g for Windows 简体中文版的安装过程 我的配置 操作系统:Windows Server 2003 sp2 内存:1024M以上 1.下载Oracle 11g 地址 ...
- [翻译]MEAN.IO与MEAN.JS的前世今生
写在前面: 因为项目要求要学习mean,所以要从搭建环境开始,网上的教程不怎么多,但是感觉方法倒是不少,也没多想,就开始安装,运行起来发现怎么和安装教程中的目录结构不同? 想了好久,也翻看目录半天,总 ...
- Cocos2d-x3.0 Json解析
2dx3.0下一个JSON解析库官员以及集成.我们参考一下吧OK. JSON文件hello.json内容 {"pets":["dog","cat&qu ...
- openwrt路由器更换了Flash之后需要修改的源码
假如我使用的是WR703N,改为8M内存: 1 修改openwrt/target/linux/ar71xx/image/Makefile文件 $(eval $(call SingleProfile,T ...