SETVTRGB(8)
๐ NAME ๐
okay so the manual name is setvtrgb, and its whole job is to set the virtual terminal RGB colors ๐โจ
๐ง SYNOPSIS ๐ง
setvtrgb [options] vga|FILE|-
๐ DESCRIPTION ๐
okay so setvtrgb takes one single argument. it's either the string vga, or a path to a file holding the colors you want the Linux virtual terminals to use ๐ฆ
you can write those colors in decimal or hexadecimal, and it's lowkey smart enough to figure out which one you used at runtime ๐ง ๐
a decimal FILE needs to be exactly 3 lines of 16 comma-separated decimal values, one line each for RED, GREEN, and BLUE ๐
to get a valid FILE to start from, run this:
cat /sys/module/vt/parameters/default_{red,grn,blu} > FILE
then just edit the values in FILE and you're giving ๐
a hexadecimal FILE is exactly 16 lines of hex triplets for RED, GREEN and BLUE, each one prefixed with a number sign (#). here's an example that is literally the classic palette ๐ญ๐ธ
#000000
#AA0000
#00AA00
#AA5500
#0000AA
#AA00AA
#00AAAA
#AAAAAA
#555555
#FF5555
#55FF55
#FFFF55
#5555FF
#FF55FF
#55FFFF
#FFFFFF
โจ OPTIONS โจ
-C,--console=DEVโ pick the console device you want to use ๐ฅ๏ธ๐-h,--helpโ shows you the usage message and then exits ๐-V,--versionโ prints the version number and then exits ๐ข
๐ AUTHORS ๐
the utility was written by Alexey Gladkov, Seth Forshee, and Dustin Kirkland. the whole squad ๐ซถ
๐ DOCUMENTATION ๐
the documentation came from Dustin Kirkland, who is clearly obsessed with this tool ๐ฆ
that's the whole page, bestie! it's from the kbd package, last updated 3 Mar 2011, and it's the SETVTRGB(8) manual page ๐ stay iconic and go make your terminal look fire ๐ฅ๐
๐ฆ where this page comes from
- alpine 3.22: kbd-doc 2.7.1-r1 ยท GPL-2.0-or-later
- alpine 3.23: kbd-doc 2.8.0-r0 ยท GPL-2.0-or-later
- alpine 3.24: kbd-doc 2.8.0-r0 ยท GPL-2.0-or-later
- arch rolling: kbd 2.10.0-1 ยท GPL-2.0-or-later
- debian trixie: kbd 2.7.1-2 ยท GPL-2.0-or-later
- fedora 43: kbd 2.8.0-3.fc43 ยท GPL-2.0-or-later
- fedora 43: kbd 2.8.0-4.fc43 ยท GPL-2.0-or-later
- fedora 44: kbd 2.9.0-3.fc44 ยท GPL-2.0-or-later
- fedora 44: kbd 2.9.0-4.fc44 ยท GPL-2.0-or-later
- nixos 26.05: kbd 2.9.0
- nixos 26.05: kbd-vlock 2.9.0
- nixpkgs unstable: kbd 2.9.0
- nixpkgs unstable: kbd-vlock 2.9.0
- opensuse-leap 16.0: kbd 2.7.1-160000.3.1 ยท GPL-2.0-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: kbd 2.7.1-160000.3.1 ยท GPL-2.0-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: kbd 2.7.1-160000.3.1 ยท GPL-2.0-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: kbd 2.7.1-160000.3.1 ยท GPL-2.0-or-later AND GPL-3.0-or-later
- ubuntu questing: kbd 2.7.1-2ubuntu1 ยท GPL-2.0-or-later
- ubuntu resolute: kbd 2.7.1-2ubuntu2 ยท GPL-2.0-or-later
- ubuntu stonking: kbd 2.9.0-1ubuntu1 ยท GPL-2.0-or-later
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms