diff options
author | Chong Yidong <cyd@gnu.org> | 2011-12-05 23:23:56 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2011-12-05 23:23:56 +0800 |
commit | 315bc30ddb80e3380814a30b89c1f5528a58dd0c (patch) | |
tree | cf0e32a8ba2309fce2082924021ef62690d9b769 /lisp/faces.el | |
parent | 3a6ad4f050f93ee8b609da50cb9e7ab8c934a9d6 (diff) | |
download | emacs-315bc30ddb80e3380814a30b89c1f5528a58dd0c.tar.gz |
* lisp/faces.el (read-color): Minor doc fix.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r-- | lisp/faces.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index f10c9f87f25..21193589deb 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -1704,13 +1704,14 @@ If omitted or nil, that stands for the selected frame's display." (> (tty-color-gray-shades display) 2))))) (defun read-color (&optional prompt convert-to-RGB allow-empty-name msg) - "Read a color name or RGB triplet of the form \"#RRRRGGGGBBBB\". + "Read a color name or RGB triplet. Completion is available for color names, but not for RGB triplets. -RGB triplets have the form #XXXXXXXXXXXX, where each X is a hex -digit. The number of Xs must be a multiple of 3, with the same -number of Xs for each of red, green, and blue. The order is red, -green, blue. +RGB triplets have the form \"#RRGGBB\". Each of the R, G, and B +components can have one to four digits, but all three components +must have the same number of digits. Each digit is a hex value +between 0 and F; either upper case or lower case for A through F +are acceptable. In addition to standard color names and RGB hex values, the following are available as color candidates. In each case, the |