Function: tty-color-standard-values
tty-color-standard-values is a byte-compiled function defined in
tty-colors.el.gz.
Signature
(tty-color-standard-values COLOR)
Documentation
Return standard RGB values of the color COLOR.
The result is a list of integer RGB values--(RED GREEN BLUE). These values range from 0 to 65535; white is (65535 65535 65535).
The returned value reflects the standard Emacs definition of COLOR (see the info node (emacs) Colors), regardless of whether the terminal can display it, so the return value should be the same regardless of what display is being used.
Source Code
;; Defined in /usr/src/emacs/lisp/term/tty-colors.el.gz
(defun tty-color-standard-values (color)
"Return standard RGB values of the color COLOR.
The result is a list of integer RGB values--(RED GREEN BLUE).
These values range from 0 to 65535; white is (65535 65535 65535).
The returned value reflects the standard Emacs definition of
COLOR (see the info node `(emacs) Colors'), regardless of whether
the terminal can display it, so the return value should be the
same regardless of what display is being used."
(or (color-values-from-color-spec color)
(cdr (assoc color color-name-rgb-alist))))