QuectoColorsOnStrings extension

String extensions for concise styling: 'text'.red, 'text'.bold.italic.

on

Properties

bgBlack String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color black black (0x000000)/rgb(0, 0, 0)
no setter
bgBlue String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color blue blue (0x000088)/rgb(0, 0, 136)
no setter
bgBlueBright String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color brightBlue brightBlue (0x0000FF)/rgb(0, 0, 255)
no setter
bgCyan String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color cyan cyan (0x008888)/rgb(0, 136, 136)
no setter
bgCyanBright String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color brightCyan brightCyan (0x00FFFF)/rgb(0, 255, 255)
no setter
bgGray String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color gray (brightBlack) gray (0x888888)/rgb(136, 136, 136)
no setter
bgGreen String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color green green (0x008800)/rgb(0, 136, 0)
no setter
bgGreenBright String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color brightGreen brightGreen (0x00FF00)/rgb(0, 255, 0)
no setter
bgGrey String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color grey (brightBlack) grey (0x888888)/rgb(136, 136, 136) (alternate spelling for gray)
no setter
bgMagenta String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color magenta magenta (0x880088)/rgb(136, 0, 136)
no setter
bgMagentaBright String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color brightMagenta brightMagenta (0xFF00FF)/rgb(255, 0, 255)
no setter
bgRed String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color red red (0x880000)/rgb(136, 0, 0)
no setter
bgRedBright String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color brightRed brightRed (0xFF0000)/rgb(255, 0, 0)
no setter
bgWhite String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color white white (0x888888)/rgb(136, 136, 136)
no setter
bgWhiteBright String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color brightWhite brightWhite (0xFFFFFF)/rgb(255, 255, 255)
no setter
bgYellow String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color yellow yellow (0x888800)/rgb(136, 136, 0)
no setter
bgYellowBright String

Available on String, provided by the QuectoColorsOnStrings extension

set background color to ANSI color brightYellow brightYellow (0xFFFF00)/rgb(255, 255, 0)
no setter
black String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color black black (0x000000)/rgb(0, 0, 0)
no setter
blue String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color blue blue (0x000088)/rgb(0, 0, 136)
no setter
blueBright String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color brightBlue brightBlue (0x0000FF)/rgb(0, 0, 255)
no setter
bold String

Available on String, provided by the QuectoColorsOnStrings extension

Bold / increased intensity (SGR 1).
no setter
cyan String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color cyan cyan (0x008888)/rgb(0, 136, 136)
no setter
cyanBright String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color brightCyan brightCyan (0x00FFFF)/rgb(0, 255, 255)
no setter
dim String

Available on String, provided by the QuectoColorsOnStrings extension

Dim / decreased intensity (SGR 2).
no setter
gray String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color gray (brightBlack) gray (0x888888)/rgb(136, 136, 136)
no setter
green String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color green green (0x008800)/rgb(0, 136, 0)
no setter
greenBright String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color brightGreen brightGreen (0x00FF00)/rgb(0, 255, 0)
no setter
grey String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color grey (brightBlack) grey (0x888888)/rgb(136, 136, 136) (alternate spelling for gray)
no setter
hidden String

Available on String, provided by the QuectoColorsOnStrings extension

Hidden / conceal (SGR 8).
no setter
inverse String

Available on String, provided by the QuectoColorsOnStrings extension

Reverse video / inverse (SGR 7).
no setter
italic String

Available on String, provided by the QuectoColorsOnStrings extension

Italic (SGR 3).
no setter
magenta String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color magenta magenta (0x880088)/rgb(136, 0, 136)
no setter
magentaBright String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color brightMagenta brightMagenta (0xFF00FF)/rgb(255, 0, 255)
no setter
onBlack String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgBlack. Sets background color to black.
no setter
onBlue String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgBlue. Sets background color to blue.
no setter
onBlueBright String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgBlueBright. Sets background to bright blue.
no setter
onCyan String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgCyan. Sets background color to cyan.
no setter
onCyanBright String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgCyanBright. Sets background to bright cyan.
no setter
onGray String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgGray. Sets background color to gray.
no setter
onGreen String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgGreen. Sets background color to green.
no setter
onGreenBright String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgGreenBright. Sets background to bright green.
no setter
onGrey String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgGrey. Sets background color to grey.
no setter
onMagenta String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgMagenta. Sets background color to magenta.
no setter
onMagentaBright String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgMagentaBright. Sets background to bright magenta.
no setter
onRed String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgRed. Sets background color to red.
no setter
onRedBright String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgRedBright. Sets background to bright red.
no setter
onWhite String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgWhite. Sets background color to white.
no setter
onWhiteBright String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgWhiteBright. Sets background to bright white.
no setter
onYellow String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgYellow. Sets background color to yellow.
no setter
onYellowBright String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgYellowBright. Sets background to bright yellow.
no setter
overline String

Available on String, provided by the QuectoColorsOnStrings extension

Overline (SGR 53).
no setter
red String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color red red (0x880000)/rgb(136, 0, 0)
no setter
redBright String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color brightRed brightRed (0xFF0000)/rgb(255, 0, 0)
no setter
reset String

Available on String, provided by the QuectoColorsOnStrings extension

Reset all styles and colors (SGR 0).
no setter
strikethrough String

Available on String, provided by the QuectoColorsOnStrings extension

Strikethrough / crossed out (SGR 9).
no setter
underline String

Available on String, provided by the QuectoColorsOnStrings extension

Underline (SGR 4).
no setter
white String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color white white (0x888888)/rgb(136, 136, 136)
no setter
whiteBright String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color brightWhite brightWhite (0xFFFFFF)/rgb(255, 255, 255)
no setter
yellow String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color yellow yellow (0x888800)/rgb(136, 136, 0)
no setter
yellowBright String

Available on String, provided by the QuectoColorsOnStrings extension

set foreground color to ANSI color brightYellow brightYellow (0xFFFF00)/rgb(255, 255, 0)
no setter

Methods

ansi256(int code) String

Available on String, provided by the QuectoColorsOnStrings extension

Sets foreground to xterm 256-color palette index code (0–255).
bgAnsi256(int code) String

Available on String, provided by the QuectoColorsOnStrings extension

Sets background to xterm 256-color palette index code (0–255).
bgRgb(int r, int g, int b) String

Available on String, provided by the QuectoColorsOnStrings extension

Sets background to 24-bit true color RGB.
onAnsi256(int code) String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgAnsi256. Sets background to xterm 256-color palette index.
onRgb(int r, int g, int b) String

Available on String, provided by the QuectoColorsOnStrings extension

Alias for bgRgb. Sets background to 24-bit true color RGB.
rgb(int r, int g, int b) String

Available on String, provided by the QuectoColorsOnStrings extension

Sets foreground to 24-bit true color RGB.
underlineAnsi256(int code) String

Available on String, provided by the QuectoColorsOnStrings extension

Sets underline color to xterm 256-color palette index code (0–255).
underlineRgb(int r, int g, int b) String

Available on String, provided by the QuectoColorsOnStrings extension

Sets underline color to 24-bit true color RGB.