I need a small tool to ‘pick’ a colour anywhere on the screen (so that I basically get the hex code for it). Earlier, I've used KDE's KColorChooser for this.
According to this page, "Gpick" sounds like what I want, but:
$ apt-cache search gpick
<returns nothing>
Any recommendations?
gpick
That's strange that you couldn't install
gpick
, as I get the following :I suppose it could be in a source that you currently don't have enabled..
To pick a colour, launch Gpick, lcick on the swatch, and then press space when your mouse hovers over the colour you want to record.
gcolor2
(not anymore available in Ubuntu 19.04+)
That being said for simple colour picking I prefer
gcolor2
- Nice and simple to use and should do exactly what you require.You can install it with following command:
gcolor3
gcolor2 is not on the Ubuntu repositories anymore, and has been replaced with gcolor3.
You can install it with following command:
I like to use the software agave. It's a simple software that gives your color combinations, and it has a color picker.
Worth give it a try!
Regards
grabc
is as simple as it can get. Spawns a cursor, outputs color on stdout when you click. Pure Unix way.To install it, run
sudo apt install grabc
.There's a native color picker for HTML5's
<input>
tag built into all modern browsers (some screenshots).Enter this in browser's URL bar:
and click on the rendered button. Bookmark for later use. Works offline.
(Technically, this is neither a dedicated app, nor GNOME-specific; which might exactly be the point: no install needed)
If it wasn't mention,
gcolor2
can also sample color from all over the desktop.But I got curious about
gpick
, and tried to install a newer version on Ubuntu 11.04 Natty. So I got:precise
(there's no earlier); installs innatty
via GDebi Package Installernatty
via GDebi Package Installer (with previous dependency installed)... however, at this point:
Then I tried getting libstdc++6_4.6.3-1ubuntu5_i386.deb and extracting (not installing) it; and using this:
... damn, so it needs more dependencies satisfaction (and if one starts messing with libc, one may as well update the OS
:)
)Anyways, back to
gpicks
webpage, there is a link PPA at Launchpad there - so I gotgpick_0.2.0-1~ppakarmic1_i386.deb
from the PPA Packages ... page. Installed it again via GDebi Package installer (removing the previous, newer one first, withsudo dpkg -r gpick
) - and it works! And even if it's not the latest version, I think it looks quite awesome.Here is the X11 native solution that
Just run
xmag
. From its man page:xmag
program allows you to magnify portions of an X screen.I recommend GPick:
sudo apt-get install gpick
Applications -> Graphics -> GPick
It's got a lot more features than gcolor2 but is still extremely simple to use - click on one of the hex swatches, move your mouse around the screen over the colours you want to pick, then press the space bar to add to your swatch list.
It also has a traditional colour picker (like gcolor2) in the bottom right-hand corner of the window to allow you to pick individual colours with magnification.
Another way to get a simple color picker is to install yad (Yet Another Dialog) and run
yad --color
.The Gnome Shell extension Color Picker provides a picker and a color palette, generated from previously selected colors.
The picker
The color palette
Source: https://extensions.gnome.org/extension/3396/color-picker/