At the risk of poking my bib in again, I would suggest that there is a plethora of lists of colour names. Why should groff be restricted to a small subset when it currently has the power to describe any colour?

As a starting point, try looking at ImageMagick.

Might I respectfully remind the members of this list that groff has a purpose well beyond merely creating man pages. Man pages are an extremely small part, albeit an important part, of groff.

By all means hold the hands of the authors of man pages, as they seem surely to need hand holding, but please do not cripple groff to do so.

Robert Thorsby


On 6/6/25 09:08, Deri wrote:
On Wednesday, 4 June 2025 15:04:52 BST Nate Bargmann wrote:
* On 2025 03 Jun 22:09 -0500, G. Branden Robinson wrote:
I think "yes", and I'd go further; since we have only one set of
predefined color names, they're all in the same color space (RGB), and
they all have the same origin (the X11 color list, which has become a
sort of de facto standard in computing even outside of the Unix
ecosystem),

I'm sure you're aware of the W3C Web colors as well:

https://en.wikipedia.org/wiki/Web_colors

Which the Wiki says are descended from X11 colors:


I have been comparing HTML and X colour names, results attached as a pdf (and a 
text
version which should be piped through "less -R" to see the colours).

The background colour represents the named colour. For colours marked "Same" 
the HTML
and X have matched names and RGB values. If it refers "X=name" it means that 
for the same
RGB value X has a different name, however there is nothing to stop a single RBG 
value
having two names, so we could add the HTML name as such an alias.

A colour marked as "Missing" means that no X colour has the particular RBG 
value, the
closest nearest RBG colour is shown in the third column, the HTML name could be 
added to
our list.

The last group are where the names are the same but the RBG values are 
different (shown
by the HTML colour in col 2, and X in col 3). There are 4 colours afffected. 
Xorg-rgb 1.0.6
addressed this by adding "aliases" with the suffixes "web" or "x11".

Cheers

Deri


Attachment: OpenPGP_0x84A525F345249AFF.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to