Variable: ps-fg-list
ps-fg-list is a customizable variable defined in ps-print.el.gz.
Value
nil
Documentation
Specify foreground color list.
This list is used to chose a text foreground color which is different from the
background color. It'll be used the first foreground color in ps-fg-list
which is different from the background color.
If this list is nil, the default foreground color is used. See
ps-default-fg.
The list element valid values are:
NUMBER It's a real value between 0.0 (black) and 1.0 (white) that
indicate the gray color.
COLOR-NAME It's a string which contains the color name. For example:
"yellow".
LIST It's a list of RGB values, that is a list of three real values
of the form:
(RED GREEN BLUE)
Where RED, GREEN and BLUE are reals between 0.0 (no color) and
1.0 (full color).
Any other value is ignored and black color will be used.
This variable is used only when ps-fg-validate-p (which see) is non-nil and
when ps-print-color-p (which see) is neither nil nor black-white.
This variable was added, or its default value changed, in Emacs 22.
Source Code
;; Defined in /usr/src/emacs/lisp/ps-print.el.gz
(defcustom ps-fg-list nil
"Specify foreground color list.
This list is used to chose a text foreground color which is different from the
background color. It'll be used the first foreground color in `ps-fg-list'
which is different from the background color.
If this list is nil, the default foreground color is used. See
`ps-default-fg'.
The list element valid values are:
NUMBER It's a real value between 0.0 (black) and 1.0 (white) that
indicate the gray color.
COLOR-NAME It's a string which contains the color name. For example:
\"yellow\".
LIST It's a list of RGB values, that is a list of three real values
of the form:
(RED GREEN BLUE)
Where RED, GREEN and BLUE are reals between 0.0 (no color) and
1.0 (full color).
Any other value is ignored and black color will be used.
This variable is used only when `ps-fg-validate-p' (which see) is non-nil and
when `ps-print-color-p' (which see) is neither nil nor black-white."
:type '(repeat
(choice :menu-tag "Foreground Gray/Color"
:tag "Foreground Gray/Color"
(number :tag "Gray Scale" :value 0.0)
(string :tag "Color Name" :value "black")
(list :tag "RGB Color" :value (0.0 0.0 0.0)
(number :tag "Red")
(number :tag "Green")
(number :tag "Blue"))))
:version "22"
:group 'ps-print-color)