chickadee » x11-colors » color->name-or-hex-string

color->name-or-hex-string colorprocedure

Given a 3-vector #(R G B), if that color is present in the X11 database return its name as a string; otherwise, return a hex string of the form "#RRGGBB".