color_pair: Create Background & Foreground Color Combination
Description
Returns the ANSI codes for the specified colors. color_pair accepts numeric values (RGB or 8-bit color code), hexadecimal characters, or the name of the color.
Usage
color_pair(fg, bg)
Arguments
fg
character or numeric value for the foreground color
bg
character or numeric value for the background color
# NOT RUN {# Blue background with white textcolor_pair("white", "blue")
color_pair("#FFFFFF", "#0000FF")
color_pair(0, 12)
color_pair(c(255, 255, 255), c(0,0,255))
# }