To map a color name to the exact RGB value, use XParseColor().
To map a color name to a value in an arbitrary color space, use XcmsLookupColor().