Hello,
I just changed all of my desktop fonts to a reddish colour by following the instructions here viewtopic.php?t=245198
Where do I go to learn a bit more about the colour codes please, I tried googling and just got confusing results.
Can I customise other things in that directory ? Did some googling and got horribly confused .... what do I need to read to learn more please ?
Thanks
Bill
[RESOLVED] where to read about colour codes and gtk-3.0
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 3
- Posts: 110
- Joined: Fri Jul 13, 2018 8:30 am
[RESOLVED] where to read about colour codes and gtk-3.0
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: where to read about colour codes and gtk-3.0
Install gcolor3 (color picker) from software manager, it's a flatpak so takes some space (I use gcolor2), it will give you a colour wheel and show you the colour codes.
If running cinnamon, there is also a color picker applet which will let you click on any area of the screen and tell you what the colour codes are.
If running cinnamon, there is also a color picker applet which will let you click on any area of the screen and tell you what the colour codes are.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: where to read about colour codes and gtk-3.0
This file shows the hex color codes for various colors (which you can often reference by name):bill_steamshovel wrote: ⤴Fri Jul 16, 2021 7:28 amWhere do I go to learn a bit more about the colour codes please, I tried googling and just got confusing results.
Code: Select all
/usr/share/X11/rgb.txt
[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: where to read about colour codes and gtk-3.0
I don't, which is why I've got gcolor2, but you have to pull the deb out of bionic.If you don't want to install a flatpak (I never would)
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
-
- Level 4
- Posts: 301
- Joined: Sun Mar 19, 2017 2:31 pm
Re: where to read about colour codes and gtk-3.0
There is also a colour picker actually within Google (just google hex colour picker). It has a slider thingy which you can move to select a colour, and then click on a large rectangle above to adjust it brighter or darker. It will then show you the precise hex code for that colour underneath. This will be # followed by six characters in the range 0-9 and a-f. Conversely you can type in here any hex code you like and it will show you the colour it represents.
On the other hand the advantage of installing gcolor2 or gcolor3 is that it also gives you a tool (dropper icon) which enables you to click on any colour on your desktop to identify it. You can also save colours.
The MATE desktop already has an equivalent colour picker in its menu.
You can customise lots of things by putting code into the ~/.config/gtk-3.0/gtk.css file which will then override the existing setting for that particular item. However, you need to know the precise wording (css code) which identifies whatever it is and stipulates the aspect of it to be changed: eg color, background-color, font-size, font-weight, text-shadow, min-width or whatever. Information on all this is rather scattered and it is best to do a google search for whatever you want to alter and then experiment.
On the other hand the advantage of installing gcolor2 or gcolor3 is that it also gives you a tool (dropper icon) which enables you to click on any colour on your desktop to identify it. You can also save colours.
The MATE desktop already has an equivalent colour picker in its menu.
You can customise lots of things by putting code into the ~/.config/gtk-3.0/gtk.css file which will then override the existing setting for that particular item. However, you need to know the precise wording (css code) which identifies whatever it is and stipulates the aspect of it to be changed: eg color, background-color, font-size, font-weight, text-shadow, min-width or whatever. Information on all this is rather scattered and it is best to do a google search for whatever you want to alter and then experiment.
-
- Level 3
- Posts: 110
- Joined: Fri Jul 13, 2018 8:30 am
Re: [RESOLVED] where to read about colour codes and gtk-3.0
All fixed thankyou.
Thanks very much for all the tips. Have now got my desktop font colour nicely contrasted with the background and will start further exploration of what I can tweak in gtk-3.0
Thanks very much for all the tips. Have now got my desktop font colour nicely contrasted with the background and will start further exploration of what I can tweak in gtk-3.0