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

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

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

no setter
inverse String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
italic String

Available on String, provided by the QuectoColorsOnStrings extension

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

no setter
onBlue String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onBlueBright String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onCyan String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onCyanBright String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onGray String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onGreen String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onGreenBright String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onGrey String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onMagenta String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onMagentaBright String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onRed String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onRedBright String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onWhite String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onWhiteBright String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onYellow String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
onYellowBright String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
overline String

Available on String, provided by the QuectoColorsOnStrings extension

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

no setter
strikethrough String

Available on String, provided by the QuectoColorsOnStrings extension

no setter
underline String

Available on String, provided by the QuectoColorsOnStrings extension

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

bgAnsi256(int code) String

Available on String, provided by the QuectoColorsOnStrings extension

bgRgb(int r, int g, int b) String

Available on String, provided by the QuectoColorsOnStrings extension

onAnsi256(int code) String

Available on String, provided by the QuectoColorsOnStrings extension

onRgb(int r, int g, int b) String

Available on String, provided by the QuectoColorsOnStrings extension

rgb(int r, int g, int b) String

Available on String, provided by the QuectoColorsOnStrings extension

underlineAnsi256(int code) String

Available on String, provided by the QuectoColorsOnStrings extension

underlineRgb(int r, int g, int b) String

Available on String, provided by the QuectoColorsOnStrings extension