Function: vtable--face-color
vtable--face-color is a byte-compiled function defined in
vtable.el.gz.
Signature
(vtable--face-color FACE1 FACE2 ACCESSOR SLOT)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/vtable.el.gz
(defun vtable--face-color (face1 face2 accessor slot)
(let ((col1 (if (facep face1)
(funcall accessor face1)
(plist-get face1 slot)))
(col2 (if (facep face2)
(funcall accessor face2)
(plist-get face2 slot))))
(if (and col1 col2)
(apply #'color-rgb-to-hex
`(,@(color-blend (color-name-to-rgb col1)
(color-name-to-rgb col2))
2))
(or col1 col2))))