Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 16 Aug 2018, 23:13
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
grabc -- Identify the color of a pixel on the screen
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
musher0


Joined: 04 Jan 2009
Posts: 12568
Location: Gatineau (Qc), Canada

PostPosted: Sun 23 Jul 2017, 23:39    Post subject:  grabc -- Identify the color of a pixel on the screen
Subject description: From pixel to design idea to GTK2 theme
 

Hello all.

I discovered this little gem recently. As the title says. It's been around for
a while. So I searched the forum, but I think this little utility has never
been discussed here before.

grabc is a CLI program, so you have to run it from console. From the
developer's site:
Quote:
$ grabc
(mouse ponter turns into a cross hair and you click on something)
#b2c0dd
178,192,221

gcolor2 and mtpaint have something similar, but these apps occupy more
space on screen, and it's not as easy if you want the color underneath
those apps.

grabc is handy for developers, but also for any user just curious about the
definition of the colors on their screen.

The source of grabc is here:
http://muquit.com/muquit/software/grabc/grabc.html

Debian has it ready to install, here for Stretch:
https://packages.debian.org/search?keywords=grabc&searchon=names&suite=stable&section=all
and here for Wheezy:
https://packages.debian.org/search?suite=wheezy&searchon=names&keywords=grabc

For Slacko and slackware generally, I don't have any URLs, sorry.

~~~~~~~~~~~

So you have the "hex" color of a pixel -- or you've collected a few colors
from your screen. Now what?

Well, you may want to harmonize colors between your background and
your GTK theme.

For starters, it may help to know their name, so for a rather complete
listing of hex colors and color names, please go here:
http://www.colorhexa.com/color-names

Then, if, like me, you're a bit of a dummy when it comes to color combos
and designs, and you're always wondering what color goes with what, this
site may help you out:
https://designschool.canva.com/blog/100-color-combinations
This may help you create a design color ensemble.

Finally, if you're looking for a GTK2 theme to match your color design
idea, don't forget to browse through the offerings at gnome-look:
https://www.gnome-look.org/browse/cat/136
AND
at deviant art's gtk2 section:
http://www.deviantart.com/customization/skins/linuxutil/desktopenv/gnome/gtk2/newest

I hope someone finds the above info helpful.

BFN.

_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5122
Location: Republic of Novo Zelande

PostPosted: Wed 27 Dec 2017, 14:14    Post subject:  

Awesome, thanks musher.
I grabbed the "wheezy" package just to see if it worked in my Slacko 5.6 derivative and it was perfect. Very handy!
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 12568
Location: Gatineau (Qc), Canada

PostPosted: Wed 27 Dec 2017, 16:45    Post subject:  

My pleasure, greengeek!
_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2521
Location: 500 seconds from Sol

PostPosted: Wed 27 Dec 2017, 20:35    Post subject: grabc for Xenialpup64 = debian jessie 64's  

Hi musher0,

Nice find. It will take a lot of guess-work out of color matching.

For those who may not know it, debian packages are frequently compatible (or nearly so --some tweaking required) with contemporaneous Ubuntu OSes. For Xenial, that would be the Jessie packages. With that thought in mind, after making sure I could recover from something weird happening, I followed the links from the website you provided, then downloaded and installed the deb for jessie 64-bit into Xenialpup64. [The download page showed several dependencies, but they all looked familiar so I ignored them].

Seems to be working OOTB.

Embarassed I could have done it the easy way > Use PPM. Rolling Eyes

Thanks,

mikesLr
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 12568
Location: Gatineau (Qc), Canada

PostPosted: Wed 27 Dec 2017, 20:57    Post subject:  

Hello,mikesLr.

Oh. Grabc is in your PPM, is it? That is good to know.
I couldn't find it on mine...

BFN.

_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5122
Location: Republic of Novo Zelande

PostPosted: Thu 28 Dec 2017, 04:30    Post subject:  

...nor mine.
(Slacko 5.6)
(i used the wheezy package from mushers link and it worked for me despite the grabc package being unavailable in PPM)
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2521
Location: 500 seconds from Sol

PostPosted: Thu 28 Dec 2017, 11:21    Post subject:  

Hi musher0, g/g,

Xenialpup64's Puppy Package Manager responded with 4 files to the search for grabc. As the Jessie64 deb alone appears to work OOTB, I didn't try installing any. So I don't know which, if any, beyond selecting just one would be needed, and --this being a 'Ubuntu64-pup'-- moving libs where they could be found would have been necessary.

Being absent-minded isn't all bad. Laughing

mikesLr
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0424s ][ Queries: 11 (0.0099s) ][ GZIP on ]