FG
💻 Software

48-bit colours?

Fresh5 days ago
Mar 15, 20261720 views
Confidence Score0%
0%

Problem

Quite often, especially in X11-related things (X resources, Roxterm themes, etc) I see colours specified as 48-bit numbers: , instead of the usual 24-bit and . What are the extra bits used for?

Error Output

#2e2e34343636

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: 48-bit colours?

Low Risk

I found the answer in Xlib documentation under "Color strings". It seems that Xlib actually uses 16 bit RGB values for colors: RGB Device String Specification [...] an older syntax for RGB Device is supported, but its continued use is not encouraged…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment