Retrieve ANSI color code from a color name, an html color or an RGB color
ground is one of :foreground, :background color is one of this 3 formats: name, html, rgb
Get the ANSI color code.
[Validate]