+ """
+ Set text background color to a color in 16-color space.
+
+ Args:
+ red: the red channel value of background color to set
+ green: the green channel value of the background color to set
+ blue: the blue channel value of the background color to set
+
+ Returns:
+ An ANSI escape sequence that sets the background color to the
+ color described by the red, green and blue parameters in the
+ 16 color space.
+
+ .. note::
+
+ In 16 color mode, the possible color values are limited to
+ red, green, yellow, blue, purple, cyan, white and black
+ each with or without a "bright" attribute. This function
+ takes R/G/B parameter values that can be used to describe
+ colors that can't be represented in 16-color space. If
+ such a color is described by the parameters, it maps the
+ color to its closest representation in 16-color space.
+
+ This is used by :py:meth:`bg` internally but can be invoked
+ directly if needed. See also :py:meth:`fg_16color`,
+ :py:meth:`bg_216color`, and :py:meth:`bg_24bit`.
+ """
+