Latest 0.0.2
Homepage https://github.com/mokagio/UIColor-CSSColors
License MIT
Platforms ios , requires ARC
Authors

UIColor+CSSColors is a category that extends UIColor with methods to get the CSS/SVG colors. That’s it.

UIColor+CSSColors

Installation with CocoaPods

platform :ios

pod 'UIColor+CSSColors'

Usage

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];

License

UIColor+CSSColors is released under the MIT license.


Hacked together with passion by @mokagio

Latest podspec

{
    "name": "UIColor+CSSColors",
    "version": "0.0.2",
    "summary": "Extend UIColor with the CSS colors.",
    "description": "                   `UIColor+CSSColors` is a category that extends `UIColor` with methods to get the [CSS/SVG colors](http://www.w3.org/TR/css3-color/#svg-color)n",
    "homepage": "https://github.com/mokagio/UIColor-CSSColors",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Giovanni Lodi": "[email protected]"
    },
    "social_media_url": "http://twitter.com/mokagio",
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/mokagio/UIColor-CSSColors.git",
        "tag": "0.0.2"
    },
    "source_files": "UIColor+CSSColors.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This