An advanced color selection and management utility for Processing.
The latest version can be downloaded here. You can store colors in palettes and save it as a file. Also, grab any color from the screen using the screen color picker.
Do check it out and report any bugs. Would appreciate your feedback.
Hope you find it useful.
UPDATE: The download link above is for version 1.0.2. There have been some major bug fixes. UPDATING to the latest version is a MUST for previous users.
UPDATE (06/10/2011): Color Selector Plus has now been updated toversion 2.0.0. This version has more bug fixes and now all the text fields are editable too! Mac OS X UI inconsistency has been improved as well.
Ah, I never noticed the PDE has a color selector! Judging from the screenshots, this tool could be as well a standalone product. Perhaps you should add buttons to paste the selected color into the current caret position in the PDE. So we can write color(|), launch the tool, and get color(#CC2B99). Faster and less fuss than using the clipboard. Or even generate color-related code (color, fill, background, stroke, etc.).
CPU on my Mac goes nuts with this tool installed. Don't have to have the Color Selector window open for it to be effected. Just launching Processing with the tool installed has CPU at 120% (out of 200%), without the tool .4%.
Thank you jeff_g and thomas_diewald for reporting this issue. There indeed was a major bug in the on-screen color picker code which was increasing the CPU load. It has been fixed now. I've tested it on Win 7 and Win XP. Do update to v1.0.2 available here and let me know if there are still issue. Update is a MUST for previous users. Previous versions are now deprecated.
Nice! That fixed the CPU issue. Here are a couple minor cosmetic things to look at that surface on the Mac.
First image, note the offset of the color picker window. It looks too low and off the the right. The bottom and right get clipped. Also note the text areas are not sufficiently long enough to display 3 numbers, clipping the first digit.
Second picture clicks the little pull up arrow to hide the palette, which hides the buttons but shows a clip of the top of the palette.
This looks really weird. Weren't Java programs supposed to be cross-platform? The component alignment and size isn't consistent. The separator lines are not visible either. Thanks for reporting this. I'll be testing it on a Mac and making the changes soon.
Color Selector Plus has now been updated to version 2.0.0. This version has more bug fixes and now all the text fields(RGB, HSB and Hex value) are editable like Processing's original Color Selector. Mac OS X UI inconsistency has been improved as well. Try it out guys. Your suggestions/bug reports are welcome. :)
I achieved that by basically taking a screenshot of a square region of the screen centered about the mouse pointer. You can take a screen grab and the color selected by the mouse will be the center pixel of this image. This tool is open source. You can check out ZoomScreen.java which handles the color picking. The important method is getScreen() defined at this part of the code.