Skip to content

Instantly share code, notes, and snippets.

View shallad's full-sized avatar

Sachin Hallad shallad

  • Bangalore, India
View GitHub Profile
@acwright
acwright / gist:2707798
Created May 16, 2012 05:41
NSColor+Hex
#import <Cocoa/Cocoa.h>
@interface NSColor (Hex)
- (NSString *)hexadecimalValue;
+ (NSColor *)colorFromHexadecimalValue:(NSString *)hex;
@end
#import "NSColor+Hex.h"