Latest 0.0.2
License MIT
Platforms ios , requires ARC

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


Installation with CocoaPods

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

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](",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Giovanni Lodi": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": null
    "source": {
        "git": "",
        "tag": "0.0.2"
    "source_files": "UIColor+CSSColors.{h,m}",
    "requires_arc": true

Pin It on Pinterest

Share This