Copy screen color as text

Hand coding CSS? Working from a PS layout? Need to pick up colors frequently? The solution is right there on your hard drive.
Open DigitalColor Meter from Application/Utilities. Open File/Preferences and check the option Float window above other apps. Select the option RGB as Hex Value, 8-bit from the application palette. Position the cursor on the color you would like to copy and press Apple(Cmd)-Shift-C. You will get something like this on your clipboard: "#D13737". Wish there were no quotation marks, but still a big timesaver.
Thank you Phosphor for giving the tip of the week in Brad's forum topic.
- Ivan's blog
- Login or register to post comments











very nice tip. i've been
very nice tip.
i've been looking for a nice color picker and there has been one in my utilities folder all along?!
you're right, the " " is a bit annoying, but still saves so much time.
"Thank you Phosphor for
Heh...you're welcome, I guess. Little did I know!
OS X Color Palette
Also, you can create the simplest Applescript there is.
choose colorSave that and then you can launch the OS X color palette at any time. This includes a color picker. Also, you can add in hex color picker to get your hex codes.
So, now you can save your colors as well as pick them in color palettes and the color well. You ask me, the OS X color palette is one of the most impressive pieces of free/included software in OS X.
Hope that's helpful to someone cause I went to all the trouble of registering just to say it. :)
http://restiffbard.com/
Seems cool
Can you expand how to create the ActionScript?
supa simple
Just open Script Editor in
Applications/Applescript/. Then write a one line bit of codechoose color. Save that as a script (I call it Color Picker) and put it wherever you put things. Next time you need a color picker just double click your script. It will launch the OS X color palette as a standalone application.After I read this earlier I took a minute to write up a little post on some other nifty things about Color Picker. (Not trying to too my own horn but you asked for an expanded explanation) OS X Color Picker
http://restiffbard.com/
Excellent. Thank you!
Excellent. Thank you!
Cool.
I usually have a Flash setup with just the color picker open. I like that Flash allows one to dropper color from ANYTHING (menubars, jpgs, the Dock!). I've gotta check out that OSX color picker. I've used it, but it's always looked a little chinsy. I've only seen the online screen shots, never used it, but I'm sure it doesn't compare to XScope
Though this utility is free
Though this utility is free and xScope is not, xScope's Loupe has one *big* advantage -- there's an option to copy the hex value with or without the #. If you copy the hex with DigitalColor Meter and paste it into the Color Picker window in Photoshop, you'll get a "Cannot add more characters here" error because it expects just 6 numbers.
OS X picker
If you use the OS X picker as described in my blog post (see above) and install the HexColorPicker plugin you'll get the hex code and with a double click select the suffix and with a triple click pick up the # and the suffix.
so, either "ffffff" or "#ffffff".
http://restiffbard.com/