installed_progs.t: Python checks stdout too, 150 ok
[sunny256-utils.git] / colourtest
blobe708d5430b3d0a8db050439f728e7531f5f66e70
1 #!/usr/bin/env perl
3 # by entheon, do whatever the hell you want with this file
5 print "\n";
6 print "**************************\n";
7 print "*XTERM 256Color Test Chart\n";
8 print "**************************\n";
9 print "* 16 = black\n";
10 print "* 255 = white\n";
11 print "*\n";
12 print "* Usage:\n";
13 print "* colortest -w\n";
14 print "* wide display\n";
15 print "*\n";
16 print "* colortest -w -r\n";
17 print "* wide display reversed\n";
18 print "*\n";
19 print "* colortest -w -s\n";
20 print "* extra spaces padding\n";
21 print "*\n";
22 print "* colortest -w -r -s\n";
23 print "* available combination\n";
24 print "*\n";
25 print "**************************\n";
27 if( $ARGV[0] eq "-w" || $ARGV[1] eq "-w" || $ARGV[2] eq "-w" ) {
28 push(@arr, [( "\e[38;5;16m 16: 00/00/00", "\e[38;5;17m 17: 00/00/5f", "\e[38;5;18m 18: 00/00/87", "\e[38;5;19m 19: 00/00/af", "\e[38;5;20m 20: 00/00/d7", "\e[38;5;21m 21: 00/00/ff")] );
29 push(@arr, [( "\e[38;5;22m 22: 00/5f/00", "\e[38;5;23m 23: 00/5f/5f", "\e[38;5;24m 24: 00/5f/87", "\e[38;5;25m 25: 00/5f/af", "\e[38;5;26m 26: 00/5f/d7", "\e[38;5;27m 27: 00/5f/ff")] );
30 push(@arr, [( "\e[38;5;28m 28: 00/87/00", "\e[38;5;29m 29: 00/87/5f", "\e[38;5;30m 30: 00/87/87", "\e[38;5;31m 31: 00/87/af", "\e[38;5;32m 32: 00/87/d7", "\e[38;5;33m 33: 00/87/ff")] );
31 push(@arr, [( "\e[38;5;34m 34: 00/af/00", "\e[38;5;35m 35: 00/af/5f", "\e[38;5;36m 36: 00/af/87", "\e[38;5;37m 37: 00/af/af", "\e[38;5;38m 38: 00/af/d7", "\e[38;5;39m 39: 00/af/ff")] );
32 push(@arr, [( "\e[38;5;40m 40: 00/d7/00", "\e[38;5;41m 41: 00/d7/5f", "\e[38;5;42m 42: 00/d7/87", "\e[38;5;43m 43: 00/d7/af", "\e[38;5;44m 44: 00/d7/d7", "\e[38;5;45m 45: 00/d7/ff")] );
33 push(@arr, [( "\e[38;5;46m 46: 00/ff/00", "\e[38;5;47m 47: 00/ff/5f", "\e[38;5;48m 48: 00/ff/87", "\e[38;5;49m 49: 00/ff/af", "\e[38;5;50m 50: 00/ff/d7", "\e[38;5;51m 51: 00/ff/ff")] );
34 push(@arr, [( "\e[38;5;52m 52: 5f/00/00", "\e[38;5;53m 53: 5f/00/5f", "\e[38;5;54m 54: 5f/00/87", "\e[38;5;55m 55: 5f/00/af", "\e[38;5;56m 56: 5f/00/d7", "\e[38;5;57m 57: 5f/00/ff")] );
35 push(@arr, [( "\e[38;5;58m 58: 5f/5f/00", "\e[38;5;59m 59: 5f/5f/5f", "\e[38;5;60m 60: 5f/5f/87", "\e[38;5;61m 61: 5f/5f/af", "\e[38;5;62m 62: 5f/5f/d7", "\e[38;5;63m 63: 5f/5f/ff")] );
36 push(@arr, [( "\e[38;5;64m 64: 5f/87/00", "\e[38;5;65m 65: 5f/87/5f", "\e[38;5;66m 66: 5f/87/87", "\e[38;5;67m 67: 5f/87/af", "\e[38;5;68m 68: 5f/87/d7", "\e[38;5;69m 69: 5f/87/ff")] );
37 push(@arr, [( "\e[38;5;70m 70: 5f/af/00", "\e[38;5;71m 71: 5f/af/5f", "\e[38;5;72m 72: 5f/af/87", "\e[38;5;73m 73: 5f/af/af", "\e[38;5;74m 74: 5f/af/d7", "\e[38;5;75m 75: 5f/af/ff")] );
38 push(@arr, [( "\e[38;5;76m 76: 5f/d7/00", "\e[38;5;77m 77: 5f/d7/5f", "\e[38;5;78m 78: 5f/d7/87", "\e[38;5;79m 79: 5f/d7/af", "\e[38;5;80m 80: 5f/d7/d7", "\e[38;5;81m 81: 5f/d7/ff")] );
39 push(@arr, [( "\e[38;5;82m 82: 5f/ff/00", "\e[38;5;83m 83: 5f/ff/5f", "\e[38;5;84m 84: 5f/ff/87", "\e[38;5;85m 85: 5f/ff/af", "\e[38;5;86m 86: 5f/ff/d7", "\e[38;5;87m 87: 5f/ff/ff")] );
40 push(@arr, [( "\e[38;5;88m 88: 87/00/00", "\e[38;5;89m 89: 87/00/5f", "\e[38;5;90m 90: 87/00/87", "\e[38;5;91m 91: 87/00/af", "\e[38;5;92m 92: 87/00/d7", "\e[38;5;93m 93: 87/00/ff")] );
41 push(@arr, [( "\e[38;5;94m 94: 87/5f/00", "\e[38;5;95m 95: 87/5f/5f", "\e[38;5;96m 96: 87/5f/87", "\e[38;5;97m 97: 87/5f/af", "\e[38;5;98m 98: 87/5f/d7", "\e[38;5;99m 99: 87/5f/ff")] );
42 push(@arr, [( "\e[38;5;100m 100: 87/87/00", "\e[38;5;101m 101: 87/87/5f", "\e[38;5;102m 102: 87/87/87", "\e[38;5;103m 103: 87/87/af", "\e[38;5;104m 104: 87/87/d7", "\e[38;5;105m 105: 87/87/ff")] );
43 push(@arr, [( "\e[38;5;106m 106: 87/af/00", "\e[38;5;107m 107: 87/af/5f", "\e[38;5;108m 108: 87/af/87", "\e[38;5;109m 109: 87/af/af", "\e[38;5;110m 110: 87/af/d7", "\e[38;5;111m 111: 87/af/ff")] );
44 push(@arr, [( "\e[38;5;112m 112: 87/d7/00", "\e[38;5;113m 113: 87/d7/5f", "\e[38;5;114m 114: 87/d7/87", "\e[38;5;115m 115: 87/d7/af", "\e[38;5;116m 116: 87/d7/d7", "\e[38;5;117m 117: 87/d7/ff")] );
45 push(@arr, [( "\e[38;5;118m 118: 87/ff/00", "\e[38;5;119m 119: 87/ff/5f", "\e[38;5;120m 120: 87/ff/87", "\e[38;5;121m 121: 87/ff/af", "\e[38;5;122m 122: 87/ff/d7", "\e[38;5;123m 123: 87/ff/ff")] );
46 push(@arr, [( "\e[38;5;124m 124: af/00/00", "\e[38;5;125m 125: af/00/5f", "\e[38;5;126m 126: af/00/87", "\e[38;5;127m 127: af/00/af", "\e[38;5;128m 128: af/00/d7", "\e[38;5;129m 129: af/00/ff")] );
47 push(@arr, [( "\e[38;5;130m 130: af/5f/00", "\e[38;5;131m 131: af/5f/5f", "\e[38;5;132m 132: af/5f/87", "\e[38;5;133m 133: af/5f/af", "\e[38;5;134m 134: af/5f/d7", "\e[38;5;135m 135: af/5f/ff")] );
48 push(@arr, [( "\e[38;5;136m 136: af/87/00", "\e[38;5;137m 137: af/87/5f", "\e[38;5;138m 138: af/87/87", "\e[38;5;139m 139: af/87/af", "\e[38;5;140m 140: af/87/d7", "\e[38;5;141m 141: af/87/ff")] );
49 push(@arr, [( "\e[38;5;142m 142: af/af/00", "\e[38;5;143m 143: af/af/5f", "\e[38;5;144m 144: af/af/87", "\e[38;5;145m 145: af/af/af", "\e[38;5;146m 146: af/af/d7", "\e[38;5;147m 147: af/af/ff")] );
50 push(@arr, [( "\e[38;5;148m 148: af/d7/00", "\e[38;5;149m 149: af/d7/5f", "\e[38;5;150m 150: af/d7/87", "\e[38;5;151m 151: af/d7/af", "\e[38;5;152m 152: af/d7/d7", "\e[38;5;153m 153: af/d7/ff")] );
51 push(@arr, [( "\e[38;5;154m 154: af/ff/00", "\e[38;5;155m 155: af/ff/5f", "\e[38;5;156m 156: af/ff/87", "\e[38;5;157m 157: af/ff/af", "\e[38;5;158m 158: af/ff/d7", "\e[38;5;159m 159: af/ff/ff")] );
52 push(@arr, [( "\e[38;5;160m 160: d7/00/00", "\e[38;5;161m 161: d7/00/5f", "\e[38;5;162m 162: d7/00/87", "\e[38;5;163m 163: d7/00/af", "\e[38;5;164m 164: d7/00/d7", "\e[38;5;165m 165: d7/00/ff")] );
53 push(@arr, [( "\e[38;5;166m 166: d7/5f/00", "\e[38;5;167m 167: d7/5f/5f", "\e[38;5;168m 168: d7/5f/87", "\e[38;5;169m 169: d7/5f/af", "\e[38;5;170m 170: d7/5f/d7", "\e[38;5;171m 171: d7/5f/ff")] );
54 push(@arr, [( "\e[38;5;172m 172: d7/87/00", "\e[38;5;173m 173: d7/87/5f", "\e[38;5;174m 174: d7/87/87", "\e[38;5;175m 175: d7/87/af", "\e[38;5;176m 176: d7/87/d7", "\e[38;5;177m 177: d7/87/ff")] );
55 push(@arr, [( "\e[38;5;178m 178: d7/af/00", "\e[38;5;179m 179: d7/af/5f", "\e[38;5;180m 180: d7/af/87", "\e[38;5;181m 181: d7/af/af", "\e[38;5;182m 182: d7/af/d7", "\e[38;5;183m 183: d7/af/ff")] );
56 push(@arr, [( "\e[38;5;184m 184: d7/d7/00", "\e[38;5;185m 185: d7/d7/5f", "\e[38;5;186m 186: d7/d7/87", "\e[38;5;187m 187: d7/d7/af", "\e[38;5;188m 188: d7/d7/d7", "\e[38;5;189m 189: d7/d7/ff")] );
57 push(@arr, [( "\e[38;5;190m 190: d7/ff/00", "\e[38;5;191m 191: d7/ff/5f", "\e[38;5;192m 192: d7/ff/87", "\e[38;5;193m 193: d7/ff/af", "\e[38;5;194m 194: d7/ff/d7", "\e[38;5;195m 195: d7/ff/ff")] );
58 push(@arr, [( "\e[38;5;196m 196: ff/00/00", "\e[38;5;197m 197: ff/00/5f", "\e[38;5;198m 198: ff/00/87", "\e[38;5;199m 199: ff/00/af", "\e[38;5;200m 200: ff/00/d7", "\e[38;5;201m 201: ff/00/ff")] );
59 push(@arr, [( "\e[38;5;202m 202: ff/5f/00", "\e[38;5;203m 203: ff/5f/5f", "\e[38;5;204m 204: ff/5f/87", "\e[38;5;205m 205: ff/5f/af", "\e[38;5;206m 206: ff/5f/d7", "\e[38;5;207m 207: ff/5f/ff")] );
60 push(@arr, [( "\e[38;5;208m 208: ff/87/00", "\e[38;5;209m 209: ff/87/5f", "\e[38;5;210m 210: ff/87/87", "\e[38;5;211m 211: ff/87/af", "\e[38;5;212m 212: ff/87/d7", "\e[38;5;213m 213: ff/87/ff")] );
61 push(@arr, [( "\e[38;5;214m 214: ff/af/00", "\e[38;5;215m 215: ff/af/5f", "\e[38;5;216m 216: ff/af/87", "\e[38;5;217m 217: ff/af/af", "\e[38;5;218m 218: ff/af/d7", "\e[38;5;219m 219: ff/af/ff")] );
62 push(@arr, [( "\e[38;5;220m 220: ff/d7/00", "\e[38;5;221m 221: ff/d7/5f", "\e[38;5;222m 222: ff/d7/87", "\e[38;5;223m 223: ff/d7/af", "\e[38;5;224m 224: ff/d7/d7", "\e[38;5;225m 225: ff/d7/ff")] );
63 push(@arr, [( "\e[38;5;226m 226: ff/ff/00", "\e[38;5;227m 227: ff/ff/5f", "\e[38;5;228m 228: ff/ff/87", "\e[38;5;229m 229: ff/ff/af", "\e[38;5;230m 230: ff/ff/d7", "\e[38;5;231m 231: ff/ff/ff")] );
64 push(@arr, [( "\e[38;5;232m 232: 08/08/08", "\e[38;5;233m 233: 12/12/12", "\e[38;5;234m 234: 1c/1c/1c", "\e[38;5;235m 235: 26/26/26", "\e[38;5;236m 236: 30/30/30", "\e[38;5;237m 237: 3a/3a/3a")] );
65 push(@arr, [( "\e[38;5;238m 238: 44/44/44", "\e[38;5;239m 239: 4e/4e/4e", "\e[38;5;240m 240: 58/58/58", "\e[38;5;241m 241: 62/62/62", "\e[38;5;242m 242: 6c/6c/6c", "\e[38;5;243m 243: 76/76/76")] );
66 push(@arr, [( "\e[38;5;244m 244: 80/80/80", "\e[38;5;245m 245: 8a/8a/8a", "\e[38;5;246m 246: 94/94/94", "\e[38;5;247m 247: 9e/9e/9e", "\e[38;5;248m 248: a8/a8/a8", "\e[38;5;249m 249: b2/b2/b2")] );
67 push(@arr, [( "\e[38;5;250m 250: bc/bc/bc", "\e[38;5;251m 251: c6/c6/c6", "\e[38;5;252m 252: d0/d0/d0", "\e[38;5;253m 253: da/da/da", "\e[38;5;254m 254: e4/e4/e4", "\e[38;5;255m 255: ee/ee/ee")] );
69 if( $ARGV[0] eq "-s" || $ARGV[1] eq "-s" || $ARGV[2] eq "-s" ){
70 $padding = " ";
72 else {
76 # display in reverse order
77 if( $ARGV[0] eq "-r" || $ARGV[1] eq "-r" || $ARGV[2] eq "-r" ){
78 for( $dimone = 0; $dimone < scalar @arr; $dimone++ ) {
80 $seed = ($dimone % 6) * -1;
81 for( $dimtwo = 0; $dimtwo < 6; $dimtwo++ ) {
83 $movone = $seed;
84 $movtwo = $seed * -1;
86 print $arr[$dimone][$dimtwo] . $padding;
88 $seed = $seed+1;
91 print "\n";
94 else {
95 for( $dimone = 0; $dimone < scalar @arr; $dimone++ ) {
97 $seed = ($dimone % 6) * -1;
98 for( $dimtwo = 0; $dimtwo < 6; $dimtwo++ ) {
100 $movone = $seed;
101 $movtwo = $seed * -1;
103 $newone = $dimone+$movone;
104 $newtwo = $dimtwo+$movtwo;
106 if( $newone < scalar @arr ){
107 print $arr[$newone][$newtwo] . $padding;
110 $seed = $seed+1;
113 print "\n";
116 print "\n";
117 print "\n";
120 else {
121 print "\e[38;5;16m 16: 00/00/00\n";
122 print "\e[38;5;17m 17: 00/00/5f\n";
123 print "\e[38;5;18m 18: 00/00/87\n";
124 print "\e[38;5;19m 19: 00/00/af\n";
125 print "\e[38;5;20m 20: 00/00/d7\n";
126 print "\e[38;5;21m 21: 00/00/ff\n";
127 print "\e[38;5;22m 22: 00/5f/00\n";
128 print "\e[38;5;23m 23: 00/5f/5f\n";
129 print "\e[38;5;24m 24: 00/5f/87\n";
130 print "\e[38;5;25m 25: 00/5f/af\n";
131 print "\e[38;5;26m 26: 00/5f/d7\n";
132 print "\e[38;5;27m 27: 00/5f/ff\n";
133 print "\e[38;5;28m 28: 00/87/00\n";
134 print "\e[38;5;29m 29: 00/87/5f\n";
135 print "\e[38;5;30m 30: 00/87/87\n";
136 print "\e[38;5;31m 31: 00/87/af\n";
137 print "\e[38;5;32m 32: 00/87/d7\n";
138 print "\e[38;5;33m 33: 00/87/ff\n";
139 print "\e[38;5;34m 34: 00/af/00\n";
140 print "\e[38;5;35m 35: 00/af/5f\n";
141 print "\e[38;5;36m 36: 00/af/87\n";
142 print "\e[38;5;37m 37: 00/af/af\n";
143 print "\e[38;5;38m 38: 00/af/d7\n";
144 print "\e[38;5;39m 39: 00/af/ff\n";
145 print "\e[38;5;40m 40: 00/d7/00\n";
146 print "\e[38;5;41m 41: 00/d7/5f\n";
147 print "\e[38;5;42m 42: 00/d7/87\n";
148 print "\e[38;5;43m 43: 00/d7/af\n";
149 print "\e[38;5;44m 44: 00/d7/d7\n";
150 print "\e[38;5;45m 45: 00/d7/ff\n";
151 print "\e[38;5;46m 46: 00/ff/00\n";
152 print "\e[38;5;47m 47: 00/ff/5f\n";
153 print "\e[38;5;48m 48: 00/ff/87\n";
154 print "\e[38;5;49m 49: 00/ff/af\n";
155 print "\e[38;5;50m 50: 00/ff/d7\n";
156 print "\e[38;5;51m 51: 00/ff/ff\n";
157 print "\e[38;5;52m 52: 5f/00/00\n";
158 print "\e[38;5;53m 53: 5f/00/5f\n";
159 print "\e[38;5;54m 54: 5f/00/87\n";
160 print "\e[38;5;55m 55: 5f/00/af\n";
161 print "\e[38;5;56m 56: 5f/00/d7\n";
162 print "\e[38;5;57m 57: 5f/00/ff\n";
163 print "\e[38;5;58m 58: 5f/5f/00\n";
164 print "\e[38;5;59m 59: 5f/5f/5f\n";
165 print "\e[38;5;60m 60: 5f/5f/87\n";
166 print "\e[38;5;61m 61: 5f/5f/af\n";
167 print "\e[38;5;62m 62: 5f/5f/d7\n";
168 print "\e[38;5;63m 63: 5f/5f/ff\n";
169 print "\e[38;5;64m 64: 5f/87/00\n";
170 print "\e[38;5;65m 65: 5f/87/5f\n";
171 print "\e[38;5;66m 66: 5f/87/87\n";
172 print "\e[38;5;67m 67: 5f/87/af\n";
173 print "\e[38;5;68m 68: 5f/87/d7\n";
174 print "\e[38;5;69m 69: 5f/87/ff\n";
175 print "\e[38;5;70m 70: 5f/af/00\n";
176 print "\e[38;5;71m 71: 5f/af/5f\n";
177 print "\e[38;5;72m 72: 5f/af/87\n";
178 print "\e[38;5;73m 73: 5f/af/af\n";
179 print "\e[38;5;74m 74: 5f/af/d7\n";
180 print "\e[38;5;75m 75: 5f/af/ff\n";
181 print "\e[38;5;76m 76: 5f/d7/00\n";
182 print "\e[38;5;77m 77: 5f/d7/5f\n";
183 print "\e[38;5;78m 78: 5f/d7/87\n";
184 print "\e[38;5;79m 79: 5f/d7/af\n";
185 print "\e[38;5;80m 80: 5f/d7/d7\n";
186 print "\e[38;5;81m 81: 5f/d7/ff\n";
187 print "\e[38;5;82m 82: 5f/ff/00\n";
188 print "\e[38;5;83m 83: 5f/ff/5f\n";
189 print "\e[38;5;84m 84: 5f/ff/87\n";
190 print "\e[38;5;85m 85: 5f/ff/af\n";
191 print "\e[38;5;86m 86: 5f/ff/d7\n";
192 print "\e[38;5;87m 87: 5f/ff/ff\n";
193 print "\e[38;5;88m 88: 87/00/00\n";
194 print "\e[38;5;89m 89: 87/00/5f\n";
195 print "\e[38;5;90m 90: 87/00/87\n";
196 print "\e[38;5;91m 91: 87/00/af\n";
197 print "\e[38;5;92m 92: 87/00/d7\n";
198 print "\e[38;5;93m 93: 87/00/ff\n";
199 print "\e[38;5;94m 94: 87/5f/00\n";
200 print "\e[38;5;95m 95: 87/5f/5f\n";
201 print "\e[38;5;96m 96: 87/5f/87\n";
202 print "\e[38;5;97m 97: 87/5f/af\n";
203 print "\e[38;5;98m 98: 87/5f/d7\n";
204 print "\e[38;5;99m 99: 87/5f/ff\n";
205 print "\e[38;5;100m 100 :87/87/00\n";
206 print "\e[38;5;101m 101 :87/87/5f\n";
207 print "\e[38;5;102m 102 :87/87/87\n";
208 print "\e[38;5;103m 103 :87/87/af\n";
209 print "\e[38;5;104m 104 :87/87/d7\n";
210 print "\e[38;5;105m 105 :87/87/ff\n";
211 print "\e[38;5;106m 106 :87/af/00\n";
212 print "\e[38;5;107m 107 :87/af/5f\n";
213 print "\e[38;5;108m 108 :87/af/87\n";
214 print "\e[38;5;109m 109 :87/af/af\n";
215 print "\e[38;5;110m 110 :87/af/d7\n";
216 print "\e[38;5;111m 111 :87/af/ff\n";
217 print "\e[38;5;112m 112 :87/d7/00\n";
218 print "\e[38;5;113m 113 :87/d7/5f\n";
219 print "\e[38;5;114m 114 :87/d7/87\n";
220 print "\e[38;5;115m 115 :87/d7/af\n";
221 print "\e[38;5;116m 116 :87/d7/d7\n";
222 print "\e[38;5;117m 117 :87/d7/ff\n";
223 print "\e[38;5;118m 118 :87/ff/00\n";
224 print "\e[38;5;119m 119 :87/ff/5f\n";
225 print "\e[38;5;120m 120 :87/ff/87\n";
226 print "\e[38;5;121m 121 :87/ff/af\n";
227 print "\e[38;5;122m 122 :87/ff/d7\n";
228 print "\e[38;5;123m 123 :87/ff/ff\n";
229 print "\e[38;5;124m 124 :af/00/00\n";
230 print "\e[38;5;125m 125 :af/00/5f\n";
231 print "\e[38;5;126m 126 :af/00/87\n";
232 print "\e[38;5;127m 127 :af/00/af\n";
233 print "\e[38;5;128m 128 :af/00/d7\n";
234 print "\e[38;5;129m 129 :af/00/ff\n";
235 print "\e[38;5;130m 130 :af/5f/00\n";
236 print "\e[38;5;131m 131 :af/5f/5f\n";
237 print "\e[38;5;132m 132 :af/5f/87\n";
238 print "\e[38;5;133m 133 :af/5f/af\n";
239 print "\e[38;5;134m 134 :af/5f/d7\n";
240 print "\e[38;5;135m 135 :af/5f/ff\n";
241 print "\e[38;5;136m 136 :af/87/00\n";
242 print "\e[38;5;137m 137 :af/87/5f\n";
243 print "\e[38;5;138m 138 :af/87/87\n";
244 print "\e[38;5;139m 139 :af/87/af\n";
245 print "\e[38;5;140m 140 :af/87/d7\n";
246 print "\e[38;5;141m 141 :af/87/ff\n";
247 print "\e[38;5;142m 142 :af/af/00\n";
248 print "\e[38;5;143m 143 :af/af/5f\n";
249 print "\e[38;5;144m 144 :af/af/87\n";
250 print "\e[38;5;145m 145 :af/af/af\n";
251 print "\e[38;5;146m 146 :af/af/d7\n";
252 print "\e[38;5;147m 147 :af/af/ff\n";
253 print "\e[38;5;148m 148 :af/d7/00\n";
254 print "\e[38;5;149m 149 :af/d7/5f\n";
255 print "\e[38;5;150m 150 :af/d7/87\n";
256 print "\e[38;5;151m 151 :af/d7/af\n";
257 print "\e[38;5;152m 152 :af/d7/d7\n";
258 print "\e[38;5;153m 153 :af/d7/ff\n";
259 print "\e[38;5;154m 154 :af/ff/00\n";
260 print "\e[38;5;155m 155 :af/ff/5f\n";
261 print "\e[38;5;156m 156 :af/ff/87\n";
262 print "\e[38;5;157m 157 :af/ff/af\n";
263 print "\e[38;5;158m 158 :af/ff/d7\n";
264 print "\e[38;5;159m 159 :af/ff/ff\n";
265 print "\e[38;5;160m 160 :d7/00/00\n";
266 print "\e[38;5;161m 161 :d7/00/5f\n";
267 print "\e[38;5;162m 162 :d7/00/87\n";
268 print "\e[38;5;163m 163 :d7/00/af\n";
269 print "\e[38;5;164m 164 :d7/00/d7\n";
270 print "\e[38;5;165m 165 :d7/00/ff\n";
271 print "\e[38;5;166m 166 :d7/5f/00\n";
272 print "\e[38;5;167m 167 :d7/5f/5f\n";
273 print "\e[38;5;168m 168 :d7/5f/87\n";
274 print "\e[38;5;169m 169 :d7/5f/af\n";
275 print "\e[38;5;170m 170 :d7/5f/d7\n";
276 print "\e[38;5;171m 171 :d7/5f/ff\n";
277 print "\e[38;5;172m 172 :d7/87/00\n";
278 print "\e[38;5;173m 173 :d7/87/5f\n";
279 print "\e[38;5;174m 174 :d7/87/87\n";
280 print "\e[38;5;175m 175 :d7/87/af\n";
281 print "\e[38;5;176m 176 :d7/87/d7\n";
282 print "\e[38;5;177m 177 :d7/87/ff\n";
283 print "\e[38;5;178m 178 :d7/af/00\n";
284 print "\e[38;5;179m 179 :d7/af/5f\n";
285 print "\e[38;5;180m 180 :d7/af/87\n";
286 print "\e[38;5;181m 181 :d7/af/af\n";
287 print "\e[38;5;182m 182 :d7/af/d7\n";
288 print "\e[38;5;183m 183 :d7/af/ff\n";
289 print "\e[38;5;184m 184 :d7/d7/00\n";
290 print "\e[38;5;185m 185 :d7/d7/5f\n";
291 print "\e[38;5;186m 186 :d7/d7/87\n";
292 print "\e[38;5;187m 187 :d7/d7/af\n";
293 print "\e[38;5;188m 188 :d7/d7/d7\n";
294 print "\e[38;5;189m 189 :d7/d7/ff\n";
295 print "\e[38;5;190m 190 :d7/ff/00\n";
296 print "\e[38;5;191m 191 :d7/ff/5f\n";
297 print "\e[38;5;192m 192 :d7/ff/87\n";
298 print "\e[38;5;193m 193 :d7/ff/af\n";
299 print "\e[38;5;194m 194 :d7/ff/d7\n";
300 print "\e[38;5;195m 195 :d7/ff/ff\n";
301 print "\e[38;5;196m 196 :ff/00/00\n";
302 print "\e[38;5;197m 197 :ff/00/5f\n";
303 print "\e[38;5;198m 198 :ff/00/87\n";
304 print "\e[38;5;199m 199 :ff/00/af\n";
305 print "\e[38;5;200m 200 :ff/00/d7\n";
306 print "\e[38;5;201m 201 :ff/00/ff\n";
307 print "\e[38;5;202m 202 :ff/5f/00\n";
308 print "\e[38;5;203m 203 :ff/5f/5f\n";
309 print "\e[38;5;204m 204 :ff/5f/87\n";
310 print "\e[38;5;205m 205 :ff/5f/af\n";
311 print "\e[38;5;206m 206 :ff/5f/d7\n";
312 print "\e[38;5;207m 207 :ff/5f/ff\n";
313 print "\e[38;5;208m 208 :ff/87/00\n";
314 print "\e[38;5;209m 209 :ff/87/5f\n";
315 print "\e[38;5;210m 210 :ff/87/87\n";
316 print "\e[38;5;211m 211 :ff/87/af\n";
317 print "\e[38;5;212m 212 :ff/87/d7\n";
318 print "\e[38;5;213m 213 :ff/87/ff\n";
319 print "\e[38;5;214m 214 :ff/af/00\n";
320 print "\e[38;5;215m 215 :ff/af/5f\n";
321 print "\e[38;5;216m 216 :ff/af/87\n";
322 print "\e[38;5;217m 217 :ff/af/af\n";
323 print "\e[38;5;218m 218 :ff/af/d7\n";
324 print "\e[38;5;219m 219 :ff/af/ff\n";
325 print "\e[38;5;220m 220 :ff/d7/00\n";
326 print "\e[38;5;221m 221 :ff/d7/5f\n";
327 print "\e[38;5;222m 222 :ff/d7/87\n";
328 print "\e[38;5;223m 223 :ff/d7/af\n";
329 print "\e[38;5;224m 224 :ff/d7/d7\n";
330 print "\e[38;5;225m 225 :ff/d7/ff\n";
331 print "\e[38;5;226m 226 :ff/ff/00\n";
332 print "\e[38;5;227m 227 :ff/ff/5f\n";
333 print "\e[38;5;228m 228 :ff/ff/87\n";
334 print "\e[38;5;229m 229 :ff/ff/af\n";
335 print "\e[38;5;230m 230 :ff/ff/d7\n";
336 print "\e[38;5;231m 231 :ff/ff/ff\n";
337 print "\e[38;5;232m 232 :08/08/08\n";
338 print "\e[38;5;233m 233 :12/12/12\n";
339 print "\e[38;5;234m 234 :1c/1c/1c\n";
340 print "\e[38;5;235m 235 :26/26/26\n";
341 print "\e[38;5;236m 236 :30/30/30\n";
342 print "\e[38;5;237m 237 :3a/3a/3a\n";
343 print "\e[38;5;238m 238 :44/44/44\n";
344 print "\e[38;5;239m 239 :4e/4e/4e\n";
345 print "\e[38;5;240m 240 :58/58/58\n";
346 print "\e[38;5;241m 241 :62/62/62\n";
347 print "\e[38;5;242m 242 :6c/6c/6c\n";
348 print "\e[38;5;243m 243 :76/76/76\n";
349 print "\e[38;5;244m 244 :80/80/80\n";
350 print "\e[38;5;245m 245 :8a/8a/8a\n";
351 print "\e[38;5;246m 246 :94/94/94\n";
352 print "\e[38;5;247m 247 :9e/9e/9e\n";
353 print "\e[38;5;248m 248 :a8/a8/a8\n";
354 print "\e[38;5;249m 249 :b2/b2/b2\n";
355 print "\e[38;5;250m 250 :bc/bc/bc\n";
356 print "\e[38;5;251m 251 :c6/c6/c6\n";
357 print "\e[38;5;252m 252 :d0/d0/d0\n";
358 print "\e[38;5;253m 253 :da/da/da\n";
359 print "\e[38;5;254m 254 :e4/e4/e4\n";
360 print "\e[38;5;255m 255 :ee/ee/ee\n";
361 print "\n";
362 print "\n";
364 print "\e0m";
365 exit;