Latest 1.1.0
Homepage https://github.com/danblakemore/UIColor-MoreColors
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors

UIColors+MoreColors

Colors are nice. It’s also nice to have more than just these:

+ blackColor
+ darkGrayColor
+ lightGrayColor
+ whiteColor
+ grayColor
+ redColor
+ greenColor
+ blueColor
+ cyanColor
+ yellowColor
+ magentaColor
+ orangeColor
+ purpleColor
+ brownColor
+ clearColor

Try 1000+ more. (ノ◕ヮ◕)ノ*:・゚✧

This is based on a blog post by Jeff LaMarche:

http://iphonedevelopment.blogspot.com/2008/11/more-colors-more-compact.html

I used his convenient macro to copy the entire compact list of colors from Wikipedia (the macro was convenient because I did it all with regex [Yes, I parsed HTML with regex and lived]).

Use and abuse at will. This repo should stay up to date with the latest colors as I go look at the swatches and realize something is missing. I will also occassionally add colors (like fedexPurple).

Installation

From CocoaPods

pod 'UIColor-MoreColors', '~> 1.0'

Manually

Added the .h and .m files to your project and import where needed.

Code

The refresh script, which updates the category with new colors from Wikipedia, is written in Python 3 and depends on the unidecode package (and so is GPLv2-licensed).

License

Copyright (c) 2014 Daniel Blakemore, Spencer Phippen.

UIColors+MoreColors category is MIT-licensed.

refresh script is GPL v2-licensed.

See the LICENSE.md file for more details.

Latest podspec

{
    "name": "UIColor-MoreColors",
    "version": "1.1.0",
    "summary": "Named colors for UIColor from wikipedia's list of colors",
    "description": "UIColors+MoreColorsn===================nColors are nice.  It's also nice to have more than just these:n```n+ blackColorn+ darkGrayColorn+ lightGrayColorn+ whiteColorn+ grayColorn+ redColorn+ greenColorn+ blueColorn+ cyanColorn+ yellowColorn+ magentaColorn+ orangeColorn+ purpleColorn+ brownColorn+ clearColorn```nnTry 1000+ more. (uff89u25d5u30eeu25d5)uff89*:uff65uff9fu2727n",
    "homepage": "https://github.com/danblakemore/UIColor-MoreColors",
    "license": "MIT",
    "authors": {
        "Daniel Blakemore": "[email protected]"
    },
    "source": {
        "git": "https://github.com/danblakemore/UIColor-MoreColors.git",
        "tag": "1.1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "*.{h,m}",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This