Commit 6057489e authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Face Attributes): Describe hex color specs.

parent 82dc617b
......@@ -1636,7 +1636,7 @@ face name a special meaning in one frame if you wish.
* Defining Faces:: How to define a face with @code{defface}.
* Face Attributes:: What is in a face?
* Attribute Functions:: Functions to examine and set face attributes.
* Merging Faces:: How Emacs combines the faces specified for a character.
* Displaying Faces:: How Emacs combines the faces specified for a character.
* Font Selection:: Finding the best available font for a face.
* Face Functions:: How to define and examine faces.
* Auto Faces:: Hook for automatic face assignment.
......@@ -1941,10 +1941,14 @@ On a text-only terminal, slanted text is displayed as half-bright, if
the terminal supports the feature.
@item :foreground
Foreground color, a string.
Foreground color, a string. The value can be a system-defined color
name, 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.)
@item :background
Background color, a string.
Background color, a string, like the foreground color.
@item :inverse-video
Whether or not characters should be displayed in inverse video. The
......@@ -2265,8 +2269,8 @@ This function returns the @code{:underline} attribute of face @var{face}.
This function returns the @code{:inverse-video} attribute of face @var{face}.
@end defun
@node Merging Faces
@subsection Merging Faces for Display
@node Displaying Faces
@subsection Displaying Faces
Here are the ways to specify which faces to use for display of text:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment