Re: Retrieving color names and hex values using list-colors-display for coding purposes
Heime <[email protected]> Thu, 16 Jul 2026 14:22:32 +0000
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <eylxLpHk_2aVkFwFWwV2nwsLgJ0xksSU_Bs0WEZcxwI1hUkYXMuq_TkwCYUlXjDSg1mJr4PKWBugKtz2KA93WrmnSOM7u5cSijlECeh9Ufo=@protonmail.com> |
On Thursday, July 16th, 2026 at 5:42 PM, Eli Zaretskii <[email protected]> wrote= : > > 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. How does the computation for white give 65535 ? "white" 65535 65535 65535