Dev:UIColor

UIColor is a class representing a solid color or a pattern, similar to brushes in Windows GDI.

Predefined colors
UIColor defines a list of commonly accessed colors. They can be received using, as listed below:

Patterns
Note: the public colors and  return pinStripeColor on iPhone and clearColor on iPad.

Custom Patterns
If the default textures or colors don't suit, and you don't want a solid color, an image file can be loaded to behave similar to the Patterns above via.

If an image is too small to fit, the OS will tile the image over the screen, and this technique can be used to make backgrounds from small image files. If a image is too large, it continues off the screen.

CSS colors
UIColors can be converted to CSS colors by the -styleString method. For example, [[UIColor lightTextColor] styleString] gives @"rgba(255,255,255,153)".