When I attempt to customize-face In *Colors* Emacs shows default set colors like:

enter image description here

Instead can I show custom defined colors of my own that has following ascii codes: https://github.com/dracula/dracula-theme#color-palette. For example I want to use following colors in Colors as well: My-Yellow #f1fa8c, My-Green #50fa7b.

Related to: How to edit the list of named/defined colors?

  • 1
    It is possible and not very difficult, but as far as I can find, it is quite cumbersome to achieve. If you think this is really necessary, then you could try to create a feature request (although I guess it will have no priority at all). Otherwise, you could study the source of list-colors-display to see how it uses x-colors (for GNU/linux), color-values and list-colors-print to display the colors and come up with a solution yourself, including defining a 'custom-colors' alist, and adding those color names to the x-colors list. Oct 23, 2022 at 12:59


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.