An Application To Easily Pick A Color In Mac OS X And Get The Hex Value


Answer :

OS X comes with DigitalColor Meter:

Applications > Utilities > DigitalColor Meter.app

It has many options and preferences.

command+shift+c will copy the color under the cursor to the clipboard in many different formats.


The Mac OS X color picker is extensible.

Use Hex Color Picker to add a tab that provides you the configured color in hexadecimal RGB.

enter image description here

Just run e.g. TextEdit and press Cmd-Shift-C to open the color picker, or run your standalone program.


An even more versatile color picker is Developer Color Picker with many different output formats, one of which is hexadecimal.

enter image description here


This is easily done with AppleScript. A complete working example of code is available here.

enter image description here


Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable