X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/721416af567c48d7963d771e2f282c390a2763ca..f0cd021d19083c1a3b5e88523148579231c7e26b:/termcol.inc.pl diff --git a/termcol.inc.pl b/termcol.inc.pl index 0a71140..e14abcf 100644 --- a/termcol.inc.pl +++ b/termcol.inc.pl @@ -194,7 +194,7 @@ my @msxorder = ( 0,6,2,10,4,13,7,14 , 1,8,3,11,5,9,12,15 ); $_[2] + 4 * ($_[1] + 4 * $_[0]) + 16, map { (0, 139, 205, 255)[$_] } @_ }, - [ map { ($_ + 2 + ($_>0)) * 255/11 } 0 .. 7 ], + [ map { [80 + $_, (($_ + 2 + ($_>0)) * 255/11) x 3] } 0 .. 7 ], ], }, ansi256 => { @@ -206,7 +206,7 @@ my @msxorder = ( 0,6,2,10,4,13,7,14 , 1,8,3,11,5,9,12,15 ); $_[2] + 6 * ($_[1] + 6 * $_[0]) + 16, map { $_ && $_*40 + 55 } @_ }, - [ map { $_ * 10 + 8 } 0 .. 23 ], + [ map { [232 + $_, ($_ * 10 + 8) x 3] } 0 .. 23 ], ], }, 512 => {