>>>> "William" == William M Perry
<wmperry(a)gnu.org> writes: 
    Andy> closest match would be great
    BP> Code to do this in emacs/w3 is already sitting around in
    BP> font.el.  Check out font-tty-find-closest-color
Thanks for the pointer.  I'll see if I can produce a patch to hook in
a heuristic to set-face-* functions.  Should be somewhat
user-configurable.  It can't be perfect, but I've been playing with
different heuristics locally and it seems a great improvement over
default behavior.
Gleb