Retrieve ANSI color code from RGB color.
ground is one of :foreground, :background rgb is an array of 3 values between 0 and 255.
Get the ANSI color code for this RGB color.
[Validate]