Ubuntu Forums Archive Viewer

Colour Codes for custom colours

Archived thread 230514 from Ubuntu System Panel. Markdown source: Ubuntu_System_Panel/thread_230514_Colour_Codes_for_custom_colours.md

Original URL About this archive
#1

[FONT="Tahoma"][SIZE="2"]Hi

Can somebody tell me where to get the colour-codes if I want to set custom colours in USP?

Is it a 6-digit code or do I have to type in just the colour I want?

Because by default the colours in gconf/apps/usp are set like "999999" or "4d4d4d"

greets, Oppi[/SIZE][/FONT]

#2

I think that USP uses colors of the current theme. System -> Preferences -> Theme.

Anyway, the colors are written as hexadecimal values in $HOME/.gconf/apps/usp/%gconf.xml

Start GIMP and use its color selector to choose a color. It will show you the color number too as hex value. Or install gcolor2 package. $ gcolor2

You can file a bug-report if USP does not obey custom colors.

BTW: How did s{he} changed the colors? http://ubuntuforums.org/showthread.php?t=230439&highlight=USP

#3

Thank you for your fast answer. I will try it when i am home again in front of my beloved ubuntu-system :p

I have to play around some more hours with the gconf apps/usp definitions, especially with the colours. Let's see if it works

Greets, Oppi

#4

Oppi said: Thank you for your fast answer. I will try it when i am home again in front of my beloved ubuntu-system :p

I have to play around some more hours with the gconf apps/usp definitions, especially with the colours. Let's see if it works

Greets, Oppi

Colors are set using this system

Red, Green, Blue #RRGGBB

Where RR stands for red, GG for green and BB for blue and values of each letter can be from 0 to F with #000000 being black and #FFFFFF being white.

eg. #3FC12A is valid but #G52AC2 is not because of the 'G'

#5
#6

Thanks! I will put the link in the HowTo..

#7

chanders said: Thanks! I will put the link in the HowTo..

[IMG]http://img.photobucket.com/albums/v694/unclespellbinder/Blog/wink.gif[/IMG]

#8

Thanks ! Great help :p