For about two years before I discovered this I used to take screen shots, paste them into Photoshop and then used the Eyedropper tool to get the colour. I tried Apple’s DigitalColor Meter, and even wrote HEX numbers down on pieces of paper.
Then a light bulb came on when I accidentally continued to hold my click when selecting with the Eyedropper tool. The Eyedropper tool will let you sample colours from outside Photoshop! Woo hoo! Apparently this is a well know tip but incase anyone else out there is unaware of this I’ve decided to write it up.
Let’s say I want to sample the green used on the Times Online website. With my photoshop document open I need to have the green visible in a web browser outside the photoshop window. Here’s how I set my screen up.
Now you can select the Eyedropper Tool (shortcut I) and click and hold within your photoshop document. You can now drag the Eyedropper tool outside your Photoshop document and sample any colour on your desktop. Watch the video below to see it in action.
Colour Sampling Outside Photoshop from George Ornbo on Vimeo.
You’ll notice the menu appearing before I move the tool to select the colour. If you right click you can choose the sample rate. This is the area that gets sampled. So “Point Sample” is the exact point that you click. This is great for large blocks of colour. “3 x 3 Average” will sample an average of 3 x 3 pixels around the point at which you click. The number gradually increase in the options and increase the sample. If the image you are sampling contains a variety of colours you can either zoom in or use these options to average the colour out.
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Using template files in Vim
Vim templates or skeletons, allow you to specify a template to be used for new files with a certain extension.
Rolling deployments with Kubernetes
How to deploy a new version of an image into a Kubernetes cluster
Getting started with Kubernetes
How to get started with using Kubernetes on a local machine using minikube