| make_bg {cursr} | R Documentation |
Create Background Color
Description
Returns the ANSI code for the specified background color. make_bg accepts numeric values (RGB or 8-bit color code), hexadecimal characters, or the name of the color.
Usage
make_bg(...)
Arguments
... |
character or numeric value |
Value
ANSI character string
See Also
Other style functions:
attr_off(),
attr_on(),
bg_off(),
bg_on(),
color_off(),
color_pair(),
fg_off(),
fg_on(),
make_fg(),
make_style(),
reset(),
style()
Examples
# Different methods of specifying cyan
make_bg("cyan")
make_bg("#00FFFF")
make_bg(14)
make_bg(0, 255, 255)
[Package cursr version 0.1.0 Index]