Embed presentation





































![[UIColor colorWithRed:0.1 green:0.1 blue:0.1 alpha:1.0];
[UIColor colorWithHex:COLOR_TEXT_BASE];
#define COLOR_TEXT_BASE
0x330000
#define COLOR_BG_SELECTED
0x92760B
#define COLOR_LITE_GRAY
0x9C9C9C
@interface UIColor (Hex)
+ (UIColor *)colorWithHex:(UInt32)hex;
@end](https://image.slidesharecdn.com/2011-03-02-gree2-110302074812-phpapp02/75/slide-38-2048.jpg)






![[webView goBack];](https://image.slidesharecdn.com/2011-03-02-gree2-110302074812-phpapp02/75/slide-45-2048.jpg)





The document defines color constants for red, green, blue, and alpha channel values to create a UIColor, defines hexadecimal values for text and background colors, and includes an interface for a UIColor category that allows creating a color from a hexadecimal value.





































![[UIColor colorWithRed:0.1 green:0.1 blue:0.1 alpha:1.0];
[UIColor colorWithHex:COLOR_TEXT_BASE];
#define COLOR_TEXT_BASE
0x330000
#define COLOR_BG_SELECTED
0x92760B
#define COLOR_LITE_GRAY
0x9C9C9C
@interface UIColor (Hex)
+ (UIColor *)colorWithHex:(UInt32)hex;
@end](https://image.slidesharecdn.com/2011-03-02-gree2-110302074812-phpapp02/75/slide-38-2048.jpg)






![[webView goBack];](https://image.slidesharecdn.com/2011-03-02-gree2-110302074812-phpapp02/75/slide-45-2048.jpg)



