X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/830512d092a9e89951e2eeb2f7796ca548322fa8..9adca2adb30db13e6d2dabdb08d1388672f2dfae:/termcol.inc.pl diff --git a/termcol.inc.pl b/termcol.inc.pl index d82b265..f0eb84d 100644 --- a/termcol.inc.pl +++ b/termcol.inc.pl @@ -249,6 +249,34 @@ use Shiar_Sheet::Colour '1.02'; ], parent => 'cpc', }, + ppu => { + name => 'PPU (Famicom/NES)', + table => [ + do { + my @rgb = qw( + 333 555 777 777 + 014 036 357 567 + 006 027 447 657 + 326 407 637 757 + 403 507 707 747 + 503 704 737 755 + 510 700 740 764 + 420 630 750 770 + 320 430 660 773 + 120 140 360 572 + 031 040 070 473 + 000 053 000 276 + 022 044 077 467 + 111 222 444 666 + ); + map { [ + map { [ $_, map { $_ * 255 / 7 } split // ] } + map { $rgb[$_] } + $_*4 .. $_*4+3 + ] } 0..13 + } + ], + }, ansi88 => { name => 'rxvt 88 colour extension', rgbmap => [ @@ -261,7 +289,6 @@ use Shiar_Sheet::Colour '1.02'; }, ansi256 => { name => 'xterm 256 colour extension', - href => 'http://web.archive.org/web/20130125000058/http://www.frexx.de/xterm-256-notes/', # \033[38;5;${FG}m rgbmap => [ 6 => sub {