UIColor+CSSColors
is a category that extends UIColor
with methods to get the CSS/SVG colors. That's it.
platform :ios
pod 'UIColor+CSSColors'
Get the color you want from the UIColor
class method following this naming pattern: css<# color_name #>Color
. To see all the available colors check the w3 spec.
someViewYouWantToColor.backgroundColor = [UIColor flatPalegreenColor];
UIColor+CSSColors
is released under the MIT license.
Hacked together with passion by @mokagio