Page 1 of 1

PCManFM desktop colors

Posted: Sat May 25, 2019 5:37 pm
by Darjeeling
In the 0.5x series of PCManFM the configuration of the desktop
colors consisted of three groups of decimals for each of the
background, foreground and shadow colors ...

[desktop]
bg1=2056,2056,12850
bg2=38696,47009,32104
text=65535,50115,39321
shadow=2056,2056,12850

... while in the current 1.3.1 version there's only one six digit
hexadecimal number for each of the three colors ...

[desktop]
desktop_bg=#000000
desktop_fg=#ffffff
desktop_shadow=#000000

Does anyone know how the old triplets translate into the new
hex numbers?

I know this isn't very important, but I'm curious :)

Re: PCManFM desktop colors

Posted: Mon May 27, 2019 5:36 pm
by drooly
it's RGB (red,green,blue) with values between 0 - 65535.
white is

Code: Select all

65535,65535,65535
red is:

Code: Select all

65535,0,0
etc.

(interestingly, spacefm still uses that format)