What is that color on the edge of that application? Is that red? Or Maroon, Burgundy or Bordeaux? Having a GUI (Desktop) color picker is always useful! Learn how to install one that works and works well.
What is a Color picker
With a color picker, or color selection tool, you can easily discover what color a particular pixel has on your screen. Maybe you are working on a webpage and want to match the background with that of another site, but you don̵
A color picker is not always necessary; graphics editing software often includes a color picker (often represented by an eyedropper icon) that can be used to select colors in the app. But what if you want to pick colors and transfer them between applications, or avoid having to take a screenshot and paste it into your favorite graphics editor to find out the color of something? This is where an external color picker app can shine.
There is a great color picker that is easy to install and use on both Ubuntu and Mint: Gpick.
to install Gpick
to install Gpick on your Debian / Apt based Linux distribution (such as Ubuntu and Mint), run the following command in your terminal:
sudo apt install gpick
You can also install Gpick on your RedHat / Yum based Linux distribution (such as RHEL, Centos and Fedora), by running the following command in your terminal:
sudo yum install gpick
Welcome to Gpick
When you first open Gpick, the screen looks a bit complicated. There are many options, things to click, and things to explore. Gpick caters for many different needs and it may not be immediately obvious how to easily grab a hexadecimal color code or how to convert it to RGB.
To choose a color, you can find the colorful eyedropper icon at the bottom right of the application:
If you click on this (number 1 in the image below), you will see that your mouse cursor changes to a crosshair and you will also get a small extra dialog box with a zoomed-in version (number 3 in the image) of the pixels under the cursor (the crosshairs, number 2 in the picture) as you move, as well as the hexadecimal (hexadecimal) color code (number 4 in the picture) for the pixel directly below the cursor. First mission completed!
A little tip to keep in mind is that sometimes hexadecimal color codes need to be reversed, 2-by-2 characters at a time, to be compatible with other applications. If the readout for example
112233 if hexadecimal color code, then another application can be either
112233 if input matches that color, or it may require the reverse viz
Now that we have the ability to easily obtain hexadecimal color codes, an alleged shortcoming quickly becomes apparent: “should I use a piece of paper to write down the hex codes while working on this and poking around?”.
The answer is no. However, an additional setting must be made for this; when you click on your current pixel with the mouse, the value is not saved and thus lost. Let’s set up Gpick to remember color codes.
To do this, go to the Edit> Preferences menu and select the second tab ‘Picker’. In this tab we click on ‘Add to palette’ and ‘Copy to clipboard’ (if you want) under ‘Click behavior floating selector’:
Now, after clicking ‘OK’, let’s try the color picker a few times, and we’ll see that colors are now saved to the right.
Excellent! Now that we have this list of colors, we can easily convert these colors to other color formats. For example, if we want to transform our hexadecimal value to RGB values (red-green-blue), all we need to do is double-click our color and open the RGB tree branch to its left by clicking the right-facing triangle in front RGB
Note that you must double-click on a hexadecimal color value to convert it. If you just click on it once, the value will be selected, but not converted! This easily leads to errors as it looks like a different color value has been selected while the values shown in the translated color values (ie RGB in our case) are still from the last double click on hexadecimal color value!
Having a great color pick tool on hand, ready to use when needed, allows a person to transfer color values from one application to another faster and easier, track previously seen colors, and explore and transform colors in a variety of ways . It also allows one to easily convert color values between different formats and a lot more.
Gpick excels when it comes to choosing and managing colors, and we’ve looked at how to install and use this great utility. To enjoy!
Now that you’re all set to pick the best colors, it might be time to consider a more serious aspect of digital life – never lose 2FA / MFA access. If that’s interesting, you might want to read The Trick to (Almost) Never Losing 2FA / MFA Access next!