‘M-x list-colors-display’ to list some of the colors Emacs can display. You can use these colors while CustomizingFaces, for example.
You can, however, use many more colors! You can use all of the colors in your rgb.txt file if you are using X Window System, for example. The file should be somewhere around /usr/X11/lib/X11/rgb.txt. You need to convert these colors into HexNotation, however. In fact, you can use any RGB value, if you use HexNotation. Therefore, you can use “black” or “#000000” – the two should be equivalent.
Better than simply listing the colors that happen to be named is viewing all available colors, in a color palette – See ColorPalette. With the color palette you can examine color properties or choose colors. You can input colors using color names, RGB components (red, green, blue), or HSV components (hue, saturation, value).
The easiest way to access colors is to use the Text Properties popup menu available via
‘C-mouse-2’ – provided you use library Lisp:facemenu+.el, that is. See FaceMenuPlus. If you want the colors of a particular Face or Frame that you see in Emacs, just point the mouse at it and use
‘C-mouse-2’. The enhanced Text Properties menu also lets you:
Anything is a candidate selection framework.
Start with M-x anything-colors, narrow the list by typing some patterns(multiple patterns are space-delimited string), select with up/down/pgup/pgdown/C-p/C-n/C-v/M-v, choose with enter, With TAB actions can be selected if the selected color has more than one possible action.