From ee264870f880742284bb2c557cd0e2cf9b8b2e02 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 1 Jan 2005 14:53:07 +0000 Subject: [PATCH] (Face Customization): Mention hex color specs. --- man/custom.texi | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/man/custom.texi b/man/custom.texi index d2eda05456..840711369e 100644 --- a/man/custom.texi +++ b/man/custom.texi @@ -566,10 +566,15 @@ before the attribute name indicates whether the attribute is attribute by invoking that field. When the attribute is enabled, you can change the attribute value in the usual ways. - On a black-and-white display, the colors you can use for the -background are @samp{black}, @samp{white}, @samp{gray}, @samp{gray1}, -and @samp{gray3}. Emacs supports these shades of gray by using -background stipple patterns instead of a color. + For the colors, you can specify a color name (use @kbd{M-x +list-colors-display}) for a list of them) or a hexadecimal color +specification of the form @samp{#@var{rr}@var{gg}@var{bb}}. +(@samp{#000000} is black, @samp{#ff0000} is red, @samp{#00ff00} is +green, @samp{#0000ff} is blue, and @samp{#ffffff} is white.) On a +black-and-white display, the colors you can use for the background are +@samp{black}, @samp{white}, @samp{gray}, @samp{gray1}, and +@samp{gray3}. Emacs supports these shades of gray by using background +stipple patterns instead of a color. Setting, saving and resetting a face work like the same operations for options (@pxref{Changing an Option}). -- 2.39.2