Re: Retrieving color names and hex values using list-colors-display for coding purposes
Eli Zaretskii <[email protected]> Thu, 16 Jul 2026 08:42:48 +0300
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
> Date: Thu, 16 Jul 2026 02:56:34 +0000 > From: Heime <[email protected]> > > > How can I get list of colour names and hex numbers (list-colors-display) > that I can then use in my code with a loop. The function defined-colors will return the list of names of supported colors. The function color-values will return the RGB triplet for the given color.