Created
January 8, 2018 18:44
-
-
Save DanTheMan827/f83366221cc4049d8792e7acaf86e941 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char xterm256_colors[256][3] = { | |
{0x00, 0x00, 0x00}, // Black (SYSTEM) | |
{0x80, 0x00, 0x00}, // Maroon (SYSTEM) | |
{0x00, 0x80, 0x00}, // Green (SYSTEM) | |
{0x80, 0x80, 0x00}, // Olive (SYSTEM) | |
{0x00, 0x00, 0x80}, // Navy (SYSTEM) | |
{0x80, 0x00, 0x80}, // Purple (SYSTEM) | |
{0x00, 0x80, 0x80}, // Teal (SYSTEM) | |
{0xc0, 0xc0, 0xc0}, // Silver (SYSTEM) | |
{0x80, 0x80, 0x80}, // Grey (SYSTEM) | |
{0xff, 0x00, 0x00}, // Red (SYSTEM) | |
{0x00, 0xff, 0x00}, // Lime (SYSTEM) | |
{0xff, 0xff, 0x00}, // Yellow (SYSTEM) | |
{0x00, 0x00, 0xff}, // Blue (SYSTEM) | |
{0xff, 0x00, 0xff}, // Fuchsia (SYSTEM) | |
{0x00, 0xff, 0xff}, // Aqua (SYSTEM) | |
{0xff, 0xff, 0xff}, // White (SYSTEM) | |
{0x00, 0x00, 0x00}, // Grey0 | |
{0x00, 0x00, 0x5f}, // NavyBlue | |
{0x00, 0x00, 0x87}, // DarkBlue | |
{0x00, 0x00, 0xaf}, // Blue3 | |
{0x00, 0x00, 0xd7}, // Blue3 | |
{0x00, 0x00, 0xff}, // Blue1 | |
{0x00, 0x5f, 0x00}, // DarkGreen | |
{0x00, 0x5f, 0x5f}, // DeepSkyBlue4 | |
{0x00, 0x5f, 0x87}, // DeepSkyBlue4 | |
{0x00, 0x5f, 0xaf}, // DeepSkyBlue4 | |
{0x00, 0x5f, 0xd7}, // DodgerBlue3 | |
{0x00, 0x5f, 0xff}, // DodgerBlue2 | |
{0x00, 0x87, 0x00}, // Green4 | |
{0x00, 0x87, 0x5f}, // SpringGreen4 | |
{0x00, 0x87, 0x87}, // Turquoise4 | |
{0x00, 0x87, 0xaf}, // DeepSkyBlue3 | |
{0x00, 0x87, 0xd7}, // DeepSkyBlue3 | |
{0x00, 0x87, 0xff}, // DodgerBlue1 | |
{0x00, 0xaf, 0x00}, // Green3 | |
{0x00, 0xaf, 0x5f}, // SpringGreen3 | |
{0x00, 0xaf, 0x87}, // DarkCyan | |
{0x00, 0xaf, 0xaf}, // LightSeaGreen | |
{0x00, 0xaf, 0xd7}, // DeepSkyBlue2 | |
{0x00, 0xaf, 0xff}, // DeepSkyBlue1 | |
{0x00, 0xd7, 0x00}, // Green3 | |
{0x00, 0xd7, 0x5f}, // SpringGreen3 | |
{0x00, 0xd7, 0x87}, // SpringGreen2 | |
{0x00, 0xd7, 0xaf}, // Cyan3 | |
{0x00, 0xd7, 0xd7}, // DarkTurquoise | |
{0x00, 0xd7, 0xff}, // Turquoise2 | |
{0x00, 0xff, 0x00}, // Green1 | |
{0x00, 0xff, 0x5f}, // SpringGreen2 | |
{0x00, 0xff, 0x87}, // SpringGreen1 | |
{0x00, 0xff, 0xaf}, // MediumSpringGreen | |
{0x00, 0xff, 0xd7}, // Cyan2 | |
{0x00, 0xff, 0xff}, // Cyan1 | |
{0x5f, 0x00, 0x00}, // DarkRed | |
{0x5f, 0x00, 0x5f}, // DeepPink4 | |
{0x5f, 0x00, 0x87}, // Purple4 | |
{0x5f, 0x00, 0xaf}, // Purple4 | |
{0x5f, 0x00, 0xd7}, // Purple3 | |
{0x5f, 0x00, 0xff}, // BlueViolet | |
{0x5f, 0x5f, 0x00}, // Orange4 | |
{0x5f, 0x5f, 0x5f}, // Grey37 | |
{0x5f, 0x5f, 0x87}, // MediumPurple4 | |
{0x5f, 0x5f, 0xaf}, // SlateBlue3 | |
{0x5f, 0x5f, 0xd7}, // SlateBlue3 | |
{0x5f, 0x5f, 0xff}, // RoyalBlue1 | |
{0x5f, 0x87, 0x00}, // Chartreuse4 | |
{0x5f, 0x87, 0x5f}, // DarkSeaGreen4 | |
{0x5f, 0x87, 0x87}, // PaleTurquoise4 | |
{0x5f, 0x87, 0xaf}, // SteelBlue | |
{0x5f, 0x87, 0xd7}, // SteelBlue3 | |
{0x5f, 0x87, 0xff}, // CornflowerBlue | |
{0x5f, 0xaf, 0x00}, // Chartreuse3 | |
{0x5f, 0xaf, 0x5f}, // DarkSeaGreen4 | |
{0x5f, 0xaf, 0x87}, // CadetBlue | |
{0x5f, 0xaf, 0xaf}, // CadetBlue | |
{0x5f, 0xaf, 0xd7}, // SkyBlue3 | |
{0x5f, 0xaf, 0xff}, // SteelBlue1 | |
{0x5f, 0xd7, 0x00}, // Chartreuse3 | |
{0x5f, 0xd7, 0x5f}, // PaleGreen3 | |
{0x5f, 0xd7, 0x87}, // SeaGreen3 | |
{0x5f, 0xd7, 0xaf}, // Aquamarine3 | |
{0x5f, 0xd7, 0xd7}, // MediumTurquoise | |
{0x5f, 0xd7, 0xff}, // SteelBlue1 | |
{0x5f, 0xff, 0x00}, // Chartreuse2 | |
{0x5f, 0xff, 0x5f}, // SeaGreen2 | |
{0x5f, 0xff, 0x87}, // SeaGreen1 | |
{0x5f, 0xff, 0xaf}, // SeaGreen1 | |
{0x5f, 0xff, 0xd7}, // Aquamarine1 | |
{0x5f, 0xff, 0xff}, // DarkSlateGray2 | |
{0x87, 0x00, 0x00}, // DarkRed | |
{0x87, 0x00, 0x5f}, // DeepPink4 | |
{0x87, 0x00, 0x87}, // DarkMagenta | |
{0x87, 0x00, 0xaf}, // DarkMagenta | |
{0x87, 0x00, 0xd7}, // DarkViolet | |
{0x87, 0x00, 0xff}, // Purple | |
{0x87, 0x5f, 0x00}, // Orange4 | |
{0x87, 0x5f, 0x5f}, // LightPink4 | |
{0x87, 0x5f, 0x87}, // Plum4 | |
{0x87, 0x5f, 0xaf}, // MediumPurple3 | |
{0x87, 0x5f, 0xd7}, // MediumPurple3 | |
{0x87, 0x5f, 0xff}, // SlateBlue1 | |
{0x87, 0x87, 0x00}, // Yellow4 | |
{0x87, 0x87, 0x5f}, // Wheat4 | |
{0x87, 0x87, 0x87}, // Grey53 | |
{0x87, 0x87, 0xaf}, // LightSlateGrey | |
{0x87, 0x87, 0xd7}, // MediumPurple | |
{0x87, 0x87, 0xff}, // LightSlateBlue | |
{0x87, 0xaf, 0x00}, // Yellow4 | |
{0x87, 0xaf, 0x5f}, // DarkOliveGreen3 | |
{0x87, 0xaf, 0x87}, // DarkSeaGreen | |
{0x87, 0xaf, 0xaf}, // LightSkyBlue3 | |
{0x87, 0xaf, 0xd7}, // LightSkyBlue3 | |
{0x87, 0xaf, 0xff}, // SkyBlue2 | |
{0x87, 0xd7, 0x00}, // Chartreuse2 | |
{0x87, 0xd7, 0x5f}, // DarkOliveGreen3 | |
{0x87, 0xd7, 0x87}, // PaleGreen3 | |
{0x87, 0xd7, 0xaf}, // DarkSeaGreen3 | |
{0x87, 0xd7, 0xd7}, // DarkSlateGray3 | |
{0x87, 0xd7, 0xff}, // SkyBlue1 | |
{0x87, 0xff, 0x00}, // Chartreuse1 | |
{0x87, 0xff, 0x5f}, // LightGreen | |
{0x87, 0xff, 0x87}, // LightGreen | |
{0x87, 0xff, 0xaf}, // PaleGreen1 | |
{0x87, 0xff, 0xd7}, // Aquamarine1 | |
{0x87, 0xff, 0xff}, // DarkSlateGray1 | |
{0xaf, 0x00, 0x00}, // Red3 | |
{0xaf, 0x00, 0x5f}, // DeepPink4 | |
{0xaf, 0x00, 0x87}, // MediumVioletRed | |
{0xaf, 0x00, 0xaf}, // Magenta3 | |
{0xaf, 0x00, 0xd7}, // DarkViolet | |
{0xaf, 0x00, 0xff}, // Purple | |
{0xaf, 0x5f, 0x00}, // DarkOrange3 | |
{0xaf, 0x5f, 0x5f}, // IndianRed | |
{0xaf, 0x5f, 0x87}, // HotPink3 | |
{0xaf, 0x5f, 0xaf}, // MediumOrchid3 | |
{0xaf, 0x5f, 0xd7}, // MediumOrchid | |
{0xaf, 0x5f, 0xff}, // MediumPurple2 | |
{0xaf, 0x87, 0x00}, // DarkGoldenrod | |
{0xaf, 0x87, 0x5f}, // LightSalmon3 | |
{0xaf, 0x87, 0x87}, // RosyBrown | |
{0xaf, 0x87, 0xaf}, // Grey63 | |
{0xaf, 0x87, 0xd7}, // MediumPurple2 | |
{0xaf, 0x87, 0xff}, // MediumPurple1 | |
{0xaf, 0xaf, 0x00}, // Gold3 | |
{0xaf, 0xaf, 0x5f}, // DarkKhaki | |
{0xaf, 0xaf, 0x87}, // NavajoWhite3 | |
{0xaf, 0xaf, 0xaf}, // Grey69 | |
{0xaf, 0xaf, 0xd7}, // LightSteelBlue3 | |
{0xaf, 0xaf, 0xff}, // LightSteelBlue | |
{0xaf, 0xd7, 0x00}, // Yellow3 | |
{0xaf, 0xd7, 0x5f}, // DarkOliveGreen3 | |
{0xaf, 0xd7, 0x87}, // DarkSeaGreen3 | |
{0xaf, 0xd7, 0xaf}, // DarkSeaGreen2 | |
{0xaf, 0xd7, 0xd7}, // LightCyan3 | |
{0xaf, 0xd7, 0xff}, // LightSkyBlue1 | |
{0xaf, 0xff, 0x00}, // GreenYellow | |
{0xaf, 0xff, 0x5f}, // DarkOliveGreen2 | |
{0xaf, 0xff, 0x87}, // PaleGreen1 | |
{0xaf, 0xff, 0xaf}, // DarkSeaGreen2 | |
{0xaf, 0xff, 0xd7}, // DarkSeaGreen1 | |
{0xaf, 0xff, 0xff}, // PaleTurquoise1 | |
{0xd7, 0x00, 0x00}, // Red3 | |
{0xd7, 0x00, 0x5f}, // DeepPink3 | |
{0xd7, 0x00, 0x87}, // DeepPink3 | |
{0xd7, 0x00, 0xaf}, // Magenta3 | |
{0xd7, 0x00, 0xd7}, // Magenta3 | |
{0xd7, 0x00, 0xff}, // Magenta2 | |
{0xd7, 0x5f, 0x00}, // DarkOrange3 | |
{0xd7, 0x5f, 0x5f}, // IndianRed | |
{0xd7, 0x5f, 0x87}, // HotPink3 | |
{0xd7, 0x5f, 0xaf}, // HotPink2 | |
{0xd7, 0x5f, 0xd7}, // Orchid | |
{0xd7, 0x5f, 0xff}, // MediumOrchid1 | |
{0xd7, 0x87, 0x00}, // Orange3 | |
{0xd7, 0x87, 0x5f}, // LightSalmon3 | |
{0xd7, 0x87, 0x87}, // LightPink3 | |
{0xd7, 0x87, 0xaf}, // Pink3 | |
{0xd7, 0x87, 0xd7}, // Plum3 | |
{0xd7, 0x87, 0xff}, // Violet | |
{0xd7, 0xaf, 0x00}, // Gold3 | |
{0xd7, 0xaf, 0x5f}, // LightGoldenrod3 | |
{0xd7, 0xaf, 0x87}, // Tan | |
{0xd7, 0xaf, 0xaf}, // MistyRose3 | |
{0xd7, 0xaf, 0xd7}, // Thistle3 | |
{0xd7, 0xaf, 0xff}, // Plum2 | |
{0xd7, 0xd7, 0x00}, // Yellow3 | |
{0xd7, 0xd7, 0x5f}, // Khaki3 | |
{0xd7, 0xd7, 0x87}, // LightGoldenrod2 | |
{0xd7, 0xd7, 0xaf}, // LightYellow3 | |
{0xd7, 0xd7, 0xd7}, // Grey84 | |
{0xd7, 0xd7, 0xff}, // LightSteelBlue1 | |
{0xd7, 0xff, 0x00}, // Yellow2 | |
{0xd7, 0xff, 0x5f}, // DarkOliveGreen1 | |
{0xd7, 0xff, 0x87}, // DarkOliveGreen1 | |
{0xd7, 0xff, 0xaf}, // DarkSeaGreen1 | |
{0xd7, 0xff, 0xd7}, // Honeydew2 | |
{0xd7, 0xff, 0xff}, // LightCyan1 | |
{0xff, 0x00, 0x00}, // Red1 | |
{0xff, 0x00, 0x5f}, // DeepPink2 | |
{0xff, 0x00, 0x87}, // DeepPink1 | |
{0xff, 0x00, 0xaf}, // DeepPink1 | |
{0xff, 0x00, 0xd7}, // Magenta2 | |
{0xff, 0x00, 0xff}, // Magenta1 | |
{0xff, 0x5f, 0x00}, // OrangeRed1 | |
{0xff, 0x5f, 0x5f}, // IndianRed1 | |
{0xff, 0x5f, 0x87}, // IndianRed1 | |
{0xff, 0x5f, 0xaf}, // HotPink | |
{0xff, 0x5f, 0xd7}, // HotPink | |
{0xff, 0x5f, 0xff}, // MediumOrchid1 | |
{0xff, 0x87, 0x00}, // DarkOrange | |
{0xff, 0x87, 0x5f}, // Salmon1 | |
{0xff, 0x87, 0x87}, // LightCoral | |
{0xff, 0x87, 0xaf}, // PaleVioletRed1 | |
{0xff, 0x87, 0xd7}, // Orchid2 | |
{0xff, 0x87, 0xff}, // Orchid1 | |
{0xff, 0xaf, 0x00}, // Orange1 | |
{0xff, 0xaf, 0x5f}, // SandyBrown | |
{0xff, 0xaf, 0x87}, // LightSalmon1 | |
{0xff, 0xaf, 0xaf}, // LightPink1 | |
{0xff, 0xaf, 0xd7}, // Pink1 | |
{0xff, 0xaf, 0xff}, // Plum1 | |
{0xff, 0xd7, 0x00}, // Gold1 | |
{0xff, 0xd7, 0x5f}, // LightGoldenrod2 | |
{0xff, 0xd7, 0x87}, // LightGoldenrod2 | |
{0xff, 0xd7, 0xaf}, // NavajoWhite1 | |
{0xff, 0xd7, 0xd7}, // MistyRose1 | |
{0xff, 0xd7, 0xff}, // Thistle1 | |
{0xff, 0xff, 0x00}, // Yellow1 | |
{0xff, 0xff, 0x5f}, // LightGoldenrod1 | |
{0xff, 0xff, 0x87}, // Khaki1 | |
{0xff, 0xff, 0xaf}, // Wheat1 | |
{0xff, 0xff, 0xd7}, // Cornsilk1 | |
{0xff, 0xff, 0xff}, // Grey100 | |
{0x08, 0x08, 0x08}, // Grey3 | |
{0x12, 0x12, 0x12}, // Grey7 | |
{0x1c, 0x1c, 0x1c}, // Grey11 | |
{0x26, 0x26, 0x26}, // Grey15 | |
{0x30, 0x30, 0x30}, // Grey19 | |
{0x3a, 0x3a, 0x3a}, // Grey23 | |
{0x44, 0x44, 0x44}, // Grey27 | |
{0x4e, 0x4e, 0x4e}, // Grey30 | |
{0x58, 0x58, 0x58}, // Grey35 | |
{0x62, 0x62, 0x62}, // Grey39 | |
{0x6c, 0x6c, 0x6c}, // Grey42 | |
{0x76, 0x76, 0x76}, // Grey46 | |
{0x80, 0x80, 0x80}, // Grey50 | |
{0x8a, 0x8a, 0x8a}, // Grey54 | |
{0x94, 0x94, 0x94}, // Grey58 | |
{0x9e, 0x9e, 0x9e}, // Grey62 | |
{0xa8, 0xa8, 0xa8}, // Grey66 | |
{0xb2, 0xb2, 0xb2}, // Grey70 | |
{0xbc, 0xbc, 0xbc}, // Grey74 | |
{0xc6, 0xc6, 0xc6}, // Grey78 | |
{0xd0, 0xd0, 0xd0}, // Grey82 | |
{0xda, 0xda, 0xda}, // Grey85 | |
{0xe4, 0xe4, 0xe4}, // Grey89 | |
{0xee, 0xee, 0xee} // Grey93 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment