All Projects → thisandagain → Color

thisandagain / Color

Licence: mit
A collection of categories and utilities that extend UIColor

Labels

Projects that are alternatives of or similar to Color

Picassopalette
Android Lollipop Palette is now easy to use with Picasso !
Stars: ✭ 366 (-32.72%)
Mutual labels:  color
Gruvbox Material
Gruvbox with Material Palette
Stars: ✭ 433 (-20.4%)
Mutual labels:  color
Privilege Escalation Awesome Scripts Suite
PEASS - Privilege Escalation Awesome Scripts SUITE (with colors)
Stars: ✭ 7,144 (+1213.24%)
Mutual labels:  color
Nord Emacs
An arctic, north-bluish clean and elegant Emacs theme.
Stars: ✭ 379 (-30.33%)
Mutual labels:  color
Color
Color package for Go (golang)
Stars: ✭ 4,904 (+801.47%)
Mutual labels:  color
Sketch swatches
A swatches plugin for Sketch.
Stars: ✭ 446 (-18.01%)
Mutual labels:  color
Colorls
A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. 🎉
Stars: ✭ 3,896 (+616.18%)
Mutual labels:  color
Fast Average Color
🍏🍊🍅 Fast Average Color
Stars: ✭ 531 (-2.39%)
Mutual labels:  color
Chromacolorpicker
🎨 An intuitive iOS color picker built in Swift.
Stars: ✭ 434 (-20.22%)
Mutual labels:  color
Gradient String
🌈 Beautiful color gradients in terminal output
Stars: ✭ 476 (-12.5%)
Mutual labels:  color
Mordant
Full-featured text styling for Kotlin command-line applications
Stars: ✭ 382 (-29.78%)
Mutual labels:  color
Gommon
Common packages for Go
Stars: ✭ 389 (-28.49%)
Mutual labels:  color
Open Color
Color scheme for UI design.
Stars: ✭ 4,512 (+729.41%)
Mutual labels:  color
Color2k
a color parsing and manipulation lib served in roughly 2kB
Stars: ✭ 370 (-31.99%)
Mutual labels:  color
Cohesive Colors
Tool that may help you to create cohesive color schemes.
Stars: ✭ 492 (-9.56%)
Mutual labels:  color
Theme Ui
Build consistent, themeable React apps based on constraint-based design principles
Stars: ✭ 4,150 (+662.87%)
Mutual labels:  color
Chromatic Sketch
Sketch plugin for creating good-looking and perceptually uniform gradients and color scales.
Stars: ✭ 445 (-18.2%)
Mutual labels:  color
Vivid
A themeable LS_COLORS generator with a rich filetype datebase
Stars: ✭ 535 (-1.65%)
Mutual labels:  color
Go Colorable
Stars: ✭ 515 (-5.33%)
Mutual labels:  color
Vanilla Colorful
A tiny color picker custom element for modern web apps (2.7 KB) 🎨
Stars: ✭ 467 (-14.15%)
Mutual labels:  color

Color

Build Status Version Platform

Getting Started

The quickest way to get started with EDColor is with CocoaPods, but otherwise you can add the EDColor directory to your project and...

#import "EDColor.h"

This will automatically bring in all of the various categories and classes that make up the library. Alternatively, if you only need the functionality from a single part of EDColor, you can just import that specific header as the library was designed to be completely modular and (thus) decoupled.

UIColor+Hex

UIColor *green   = [UIColor colorWithHex:0x00FF00];
UIColor *blue    = [UIColor colorWithHex:0x0000FF andAlpha:0.5f];
UIColor *gray    = [UIColor colorWithHexString:@"#CCC"];

UIColor+HSB

UIColor *red     = [UIColor colorWithRed:1.0f green:0.0f blue:0.0f alpha:1.0f];
UIColor *blue    = [red offsetWithHue:-0.56f saturation:0.0f brightness:0.0f alpha:0.0f];

UIColor+HSL

UIColor *red     = [UIColor colorWithRed:1.0f green:0.0f blue:0.0f alpha:1.0f];
UIColor *pink    = [red offsetWithHue:0.0f saturation:0.0f lightness:0.82f alpha:0.0f];

UIColor+CIELAB

UIColor *red            = [UIColor colorWithRed:1.0f green:0.0f blue:0.0f alpha:1.0f];
UIColor *brighterRed    = [red offsetWithLightness:15.0f a:0.0f b:0.0f alpha:0.0f];

UIColor+Crayola

Because crayons are fun! Full list of colors: http://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors

UIColor *mint    = [UIColor colorWithCrayola:@"Magic Mint"];
UIColor *blue    = [UIColor colorWithCrayola:@"Midnight Blue"];
UIColor *rorange = [UIColor colorWithCrayola:@"Orange Red"];

UIColor+iOS7

Some of the iOS7 colors from ios7colors.com.

UIColor *yellow    = [UIColor iOS7yellowColor];

UIColor *greenGradientStart = [UIColor iOS7greenGradientStartColor];
UIColor *greenGradientEnd = [UIColor iOS7greenGradientEndColor];


Contributing

Install CocoaPods with gem install cocoapods. Run pod install. Open EDColor.xcworkspace.

Testing

The test suite for EDColor is built using OCUnit. To run the test suite, simply open the project in Xcode and choose "test" from the Product menu. Please run and augment the tests prior to submitting a pull request.

iOS Support

EDColor is tested on iOS 5 and up. Older versions of iOS may work but are not currently supported.

ARC

EDColor is built using ARC. If you are including EDColor in a project that does not use Automatic Reference Counting (ARC), you will need to set the -fobjc-arc compiler flag on all of the EDColor source files. To do this in Xcode, go to your active target and select the "Build Phases" tab. Now select all EDColor source files, press Enter, insert -fobjc-arc and then "Done" to enable ARC for EDColor.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].