ChatGPT解决这个技术问题 Extra ChatGPT

Color picker utility (color pipette) in Ubuntu [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

I'am looking for a color picker utility on Ubuntu/Debian. Anything simple and easy to use.

Good question, but should be on askubuntu not SO!
You can also use Pick color picker for ubuntu
I literally LOL when I read 17 up-votes for someone slapping proverbial hands over what is a "valid" or "invalid' question for SO, but then there are 337+ up-votes on the answer.
grabc is the most simple solution. All the other solutions don't have an option to just output the color on stdout. Unfortunately this question is closed, so I can't post this as an answer.
There's a color picker in Chrome Devtools: right-click any page -> Inspect -> click any colored rectangle for a css rule that has a color/background attribute defined. See developers.google.com/web/updates/2015/05/… (you can also double click a class and type eg color:blue by hand to get the color picker icon to show)

j
joeytwiddle

I recommend GPick:

sudo apt-get install gpick

Applications -> Graphics -> GPick

It has many 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.

If that doesn't work, another way is to click-and-drag from the centre of the hexagon and release your mouse over the pixel that you want to sample. Then immediately hit Space to copy that color into the next swatch in rotation.

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.


Unfortunately gpick isn't in repositories in my 11.04 (natty), but is possible download deb package from code.google.com/p/gpick
Ah, sorry about that - I was using 11.10 where it seems to be in the repos... still, impressively useful piece of software - have found myself using it a lot recently for mocking up colour schemes
It's really better than gcolor2, thx.
This app has a very non-intuitive UI; for example: why spacebar and not just normal click? After reading the instructions in this answer, the app instantly became more useful. But here's the kicker: Right-click on the center hexagon to move mouse freely. That is: 1) Right-click on the center hexagon, 2) Move mouse freely to hover a color, 3) Press spacebar to add color to selected hexagon in the palette. Note that after adding a color, the palette will automatically move to the next color, so you can press space successively to add 6 colors in total before overwriting the first.
gpick is way also too big in term of screen space. I would love to see something with the size of ColorPix or similar.
M
Marvin Pinto

You can install the package gcolor2 for this:

sudo apt-get install gcolor2

Then:

Applications -> Graphics -> GColor2

The advantage over gpick is as follows: with one click, I can copy the color into the X primary clipboard and paste it with a click on middle mouse button. With gpick, I need to use a menu, and then I only paste it in the secondary clipboard, which means that I need to use Ctrl-V (or Shift-Ctrl-V in a terminal).
Simpler and easier to use than gpick
I also find gpick extremely unintuitive. It does look powerful, but whichever brain made this works a lot different than mine. Having to "learn" a color picker seems a crazy notion. :P gcolor2 is simple and does what it's supposed to do.
just for info it seems that gcolor2 isnt in repositories anymore, and its not compatible to wayland.
This package doesn't seem to be available in Ubuntu 18.04, but the accepted answer here gives another way to install it