Learn R Programming

fansi (version 1.0.6)

sgr_256: Show 8 Bit CSI SGR Colors

Description

Generates text with each 8 bit SGR code (e.g. the "###" in "38;5;###") with the background colored by itself, and the foreground in a contrasting color and interesting color (we sacrifice some contrast for interest as this is intended for demo rather than reference purposes).

Usage

sgr_256()

Arguments

Value

character vector with SGR codes with background color set as themselves.

See Also

make_styles().

Examples

Run this code
writeLines(sgr_256())

Run the code above in your browser using DataLab