3

I am using Ubuntu mate 18.04.3 LTS.

I am quite fond of my background color and would like to use it on another machine. Where can I find the exact color that is used? When I go into the Control center and get the Appearance Preferences window, and then the Background tab, I see my color, but when I click on my background color next to Color: Solid color, I get a color selector that is positioned on a red color, while I want a blue color, so that is not the current one.

2 Answers2

4

You can use a color picker to select the exact color you need.

Install GColor2 using sudo apt install gcolor2 and then launch it.
Click the color picker icon which will turn your cursor into a color picker, then click on the background color you want to pick.

See screenshot below:

GColor2 Color picker

Parto
  • 15,325
  • 24
  • 86
  • 117
3

If I understand your Question Correctly.. you want to know what is the color used for desktop background which is already set in any way.

See the below Image, I have selected it via preset options under Background.. enter image description here

The colors can be easily retrived with gsettings or dconf-editor

gsettings get org.mate.background color-shading-type
gsettings get org.mate.background primary-color
gsettings get org.mate.background secondary-color

Example:

ubuntu-mate@ubuntu-mate:~$  gsettings get org.mate.background color-shading-type
'vertical-gradient'
ubuntu-mate@ubuntu-mate:~$ gsettings get org.mate.background primary-color
'rgb(88,145,188)'
ubuntu-mate@ubuntu-mate:~$ gsettings get org.mate.background secondary-color
'rgb(60,143,37)'
ubuntu-mate@ubuntu-mate:~

Install dconf-editor if not yet installed, with the below command

sudo apt install dconf-editor

enter image description here

from the above results the colors are rgb(88,145,188) and rgb(60,143,37)


enter image description here

enter image description here

PRATAP
  • 22,460