{
    "mode": "man",
    "parameter": "setvtrgb",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/setvtrgb/1/json",
    "generated": "2026-08-31T17:03:54Z",
    "synopsis": "setvtrgb vga\nsetvtrgb FILE|-",
    "sections": {
        "NAME": {
            "content": "setvtrgb - customize the console color map\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "setvtrgb vga\n\nsetvtrgb FILE|-\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "setvtrgb sets the console color map in all virtual terminals according to custom values spec‐\nified  in a file or standard input.  With the `vga' parameter, it can also be used to restore\nthe settings built into the kernel.\n\nWhen invoked with a filename or `-', setvtrgb expects input as follows:\n\ncolor0r,color1r,...,color15r\ncolor0g,color1g,...,color15g\ncolor0b,color1b,...,color15b\n\nwhere colorN{r,g,b} is the red/green/blue portion of the respective color in  decimal  nota‐\ntion in the 0..255 range.  To pre-seed a file in the correct format, you can use\n\ncat /sys/module/vt/parameters/default{red,grn,blu}\n\nThe meanings of the color values are defined as follows:\n\n+--------+--------+---------+\n| Normal | Bright | Color   |\n+--------+--------+---------+\n|      0 |      8 | Black   |\n|      1 |      9 | Red     |\n|      2 |     10 | Green   |\n|      3 |     11 | Yellow  |\n|      4 |     12 | Blue    |\n|      5 |     13 | Magenta |\n|      6 |     14 | Cyan    |\n|      7 |     15 | White   |\n+---------------------------+\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "setvtrgb  is  Copyright  ©  2011  Alexey Gladkov <gladkov.alexey@gmail.com>, with portions by\nDustin Kirkland <kirkland@canonical.com> and  Seth  Forshee  <seth.forshee@canonical.com>  at\nCanonical Ltd.\n\nThis  manual  page was written by Michael Schutte <michi@debian.org> for the Debian GNU/Linux\nsystem (but may be used by others).\n\nJuly 2011                                  SETVTRGB(1)",
            "subsections": []
        }
    },
    "summary": "setvtrgb - customize the console color map",
    "flags": [],
    "examples": [],
    "see_also": []
}