bg_off: Turn Off Background Color

Description Usage Value See Also Examples

View source: R/3-Style.R

Description

Return the background of future terminal text to the default color. Background color is turned on with bg_on.

Usage

1

Value

NULL

See Also

Other style functions: attr_off(), attr_on(), bg_on(), color_off(), color_pair(), fg_off(), fg_on(), make_bg(), make_fg(), make_style(), reset(), style()

Examples

1
2
3
4
5
6
7
8
# Different methods of specifying yellow
bg_on("yellow")
bg_on("#FFFF00")
bg_on(11)
bg_on(255, 255, 0)

# Turn off color
bg_off()

cursr documentation built on Jan. 13, 2021, 7:35 a.m.