setvtrgb(8) — Linux manual page


SETVTRGB(8)              System Manager's Manual             SETVTRGB(8)

NAME         top

       setvtrgb - set the virtual terminal RGB colors

SYNOPSIS         top

       setvtrgb [options] vga|FILE|-

DESCRIPTION         top

       The setvtrgb command takes a single argument, either the string
       vga , or a path to a file containing the colors to be used by the
       Linux virtual terminals.

       You can choose to write the colors in decimal or hexadecimal
       format, it will be detected on runtime.

       Decimal FILE format should be exactly 3 lines of 16 comma-
       separated decimal values for RED, GREEN, and BLUE.

       To seed a valid FILE :
              cat /sys/module/vt/parameters/default_{red,grn,blu} > FILE

       And then edit the values in FILE

       Hexadecimal FILE format should be exactly 16 lines of hex
       triplets for RED, GREEN and BLUE, prefixed with a number sign
       (#). For example:

OPTIONS         top

       -C, --console=DEV
              the console device to be used;

       -h, --help
              Prints usage message and exits.

       -V, --version
              Prints version number and exists.

AUTHOR         top

       The utility is written by Alexey Gladkov, Seth Forshee, Dustin


       Documentation by Dustin Kirkland.

COLOPHON         top

       This page is part of the kbd (Linux keyboard tools) project.
       Information about the project can be found at 
       ⟨⟩.  If you have a bug report for this
       manual page, send it to  This page was
       obtained from the project's upstream Git repository
       ⟨⟩ on 2024-06-14.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2024-05-20.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

kbd                            3 Mar 2011                    SETVTRGB(8)