Skip to content

Conversation

@soniccat
Copy link

We use hex values to create UIColor and I like these functions:

+ (NSColor *)colorWithRGBHex:(UInt32)hex alpha:(CGFloat)alpha;
+ (NSColor *)colorWithRGBHex:(UInt32)hex;

Their source can be easily found: https://github.com/eploko/EPLAppKit/blob/master/EPLAppKit/NSColor%2BEPLAppKit.m

Also I like this hex color picker plugin: http://wafflesoftware.net/hexpicker/
There are changes to work with the functions and the plugin using ColorSense-for-Xcode.

@soniccat soniccat changed the title Added hex support Added UIColor from hex and Hex Color Picker support Mar 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant