Trying not to look a gift horse in the mouth here (but apparently that's exactly what I'm doing)... Is there a way to return an RGB list similar to what you have in abColorNameToHex.il but that caters for the name found in the display.drf world instead? Ideally the routine would scan both the Display Resource and X11 environments and return the hex list. I'm assuming that there is some sensible precedence to color naming i.e. maybe names used by the Display Resource Editor take priority over the standard X11 names (e.g. if you were dumb enough to define "red" as being 0x00ff00, i.e. green, in display.drf then that would win over the X11 definition of "red").
↧