tty-color-desc

tty-color-desc is a compiled Lisp function in `tty-colors.el'.

(tty-color-desc COLOR &optional FRAME)

Return the description of the color COLOR for a character terminal.
Value is a list of the form (NAME INDEX R G B). The returned NAME or
RGB value may not be the same as the argument COLOR, because the latter
might need to be approximated if it is not supported directly.