Get Updates By E-mail 

Article Written By:
Johann Dowa

Free Mac Color Picker Plugin Makes It Easy To Get The Right UIColor/CGColorRef Code

  •  
  •  
  •  
  •  
  •  

Copying color values from apps such as Photoshop and inputting the values into your code can get quite tedious.

Here’s a custom color picker plugin from Wade Cosgrove that enhances the default color picker with the ability to export code declarations for UIColor, CGColorRef, NSColor and HTML/CSS color codes.

So you can use the color picker like in this image:

Developer Picker

And have it create UIColor code like this:

UIColor *aColor = [UIColor colorWithHue:0.907 saturation:0.629 brightness:1.000 alpha:1.000];

You can download the developer color picker plugin through the homepage here.

Just drop into your /Library/ColorPickers directory and the extended color picker will appear in apps where you’d normally have the regular color picker.

via @brandontreb


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments