X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/8b8c77dbf30f70a1e8ade679a62f08e130f959a2..5348c0a9f077660a1495942ad1f977baeccf4a0c:/termcol.plp?ds=sidebyside diff --git a/termcol.plp b/termcol.plp index 446b9c5..18593ab 100644 --- a/termcol.plp +++ b/termcol.plp @@ -1,111 +1,308 @@ -<: -use utf8; -use strict; -use warnings; -use open IO => ':utf8'; -use List::Util 'min'; - -our $VERSION = 'v1.0'; - -$header{content_type} = 'text/html; charset=utf-8'; - -:> - +<(common.inc.plp)><: - -terminal colour cheat sheet - - - +Html({ + title => 'terminal colour cheat sheet', + version => '1.0', + description => [ + "Index of all terminal/console colour codes,", + "with an example result of various environments.", + ], + keywords => [qw' + color code terminal console escape table xterm rxvt + '], + stylesheet => [qw'light dark'], +}); - +:>

Terminal colours

- +:>
-

88-colour space

+print coltable_hsv(6, + sub { $_ && $_*40 + 55 }, + [ map { $_ * 10 + 8 } 0 .. 23 ], +); +:> +<: } :> +