git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9bac941
)
termcol: xkcd survey results for colour names
author
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 29 May 2010 14:50:23 +0000
(14:50 +0000)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 16 Jun 2010 17:45:10 +0000
(17:45 +0000)
termcol.plp
patch
|
blob
|
history
diff --git
a/termcol.plp
b/termcol.plp
index 4b9103288e5643c4910815c01b334c7948c37d37..39c89013d27a10b5e8e2688138b9ca6114c63382 100644
(file)
--- a/
termcol.plp
+++ b/
termcol.plp
@@
-71,9
+71,18
@@
my %col = (
qw/2E3436 CC0000 4E9A06 C4A000 3465A4 75507B 06989A D3D7CF
555753 EF2929 8AE234 FCE94F 729FCF AD7FA8 34E2E2 EEEEEC/,
],
qw/2E3436 CC0000 4E9A06 C4A000 3465A4 75507B 06989A D3D7CF
555753 EF2929 8AE234 FCE94F 729FCF AD7FA8 34E2E2 EEEEEC/,
],
+ -xkcd => [
+ qw/black maroon green olive navy purple teal silver
+ grey red lime yellow blue fuchsia cyan white/,
+ ],
+ xkcd => [
+ 0,0,
+ qw/000000 650021 15b01a 6e750e 01153e 7e1e9c 029386 c5c9c7
+ 929591 e50000 aaff32 ffff14 0343df ed0dd9 00ffff ffffff/,
+ ],
);
);
-for my $term (qw/html cga xterm tango/) {
+for my $term (qw/html cga xterm tango
xkcd
/) {
print '<table>', "\n";
print "<caption>$term</caption>\n";
for my $num (0 .. 15) {
print '<table>', "\n";
print "<caption>$term</caption>\n";
for my $num (0 .. 15) {