Panic

Panic Blog

From the desk of
Wade
Engineering Dept.

Developer Color Picker 1.2

Hey, Wade here.

A while ago I released Developer Color Picker, my Mac OS X color picker add-on that gives developer specific color readings.

I just added a couple of new features worth mentioning:

  • NSColor now supports HSB and device colors
  • UIColor now supports HSB
  • The picker will now remember the last used color mode

Hopefully these improvements will help ease your conversion from mockup to working application.


Posted at 10:24 am 16 Comments

nick edell

12/8/2009 4:00 AM

wow, great bit of software, many thanks!

Catherine Azzarello

12/8/2009 12:25 PM

Awesome! Exactly what I needed! Thanks so much.

Steven Fisher

12/8/2009 12:31 PM

This is a really nice improvement, thanks!

John S. Eddie

12/8/2009 2:03 PM

This is such a time saver, I use it all the time. 10 minutes ago I would have said that it would be nice if it remembered the last used color mode – and now it does! Superb utility thanks.

Joe Ricioppo

12/8/2009 3:21 PM

hotness!

Thanks!

David Rodriguez

12/9/2009 11:55 AM

swweeeettt

Steven Fisher

12/11/2009 11:38 AM

One problem I’ve noticed: With UIColors, the template is slightly wrong.

It generates colors like this:
[UIColor colorWithHue:0.604 saturation:0.771 brightness:0.863 alpha:1.000]

However, these parameters are floats not doubles. So it should technically generate:
[UIColor colorWithHue:0.604f saturation:0.771f brightness:0.863f alpha:1.000f]

There’s probably few enough people that have the 64-to-32 bit warning turned on that this might not be worth the confusion.

Hi, thanks for awesome panel!
Let me add another voice to the 64-32 conversion issue.
What Steven said is also true with NSColor.
[NSColor colorWithCalibratedRed:0.665 green:0.052 blue:0.569 alpha:1.000]
generate four warnings (ugh!) when I compile the code in 32 bit mode, with
the “warn about implicit 64 bit to 32 bit conversion” setting in GCC on.
Please add “f” after each of the numbers, thanks.

This looks great! I have one idea: Could you add RGBA, which would output rgba(Red, Green, Blue, Alpha)? It’s not a big deal, I have no idea if I’ll be using it because I just stumbled on this tool, but it seems useful.

@Will P, the RGB mode will output RGBA if the color in the picker contains a non 1.0 alpha value.

@Yuji, I will investigate the gcc warning, in the mean time, do you happen to know if Clang warns about the conversion?

Great dev indeed, sthg I’ve been waiting for so long.
Hence I’m so frustrated not to succeed in using it!!
For instance, the background color of http://www.lecarbone14.fr is reported as rgb(173, 176, 157) by the Safari Inspector and as rgb(157, 160, 138) by DCP…
Maybe that I’ve missed a step, yet I can’t see which.
Needless to say, any help is welcome.

Oliver Hirst

2/16/2010 4:01 PM

I use this daily. When I grow up (i’m 15 now) My dream is to work for panic!

Awesome utility! I just found this today. Unfortunately, I’m unable to get alpha values to pick. I’m trying to copy semi transparent colors as rgba from Photoshop (CS3) as well as from Safari. Is there a trick to getting the alpha to register? Thanks.

Wade,

I’m curious what sans-serif compressed-looking font you’re using on the page for the title and the download button.

Thanks,
Kim

How do you get the alpha picker? It’s not appearing for me.