X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/ddda836ae83e6ffc5fa9f0b60afc03a3b99ae9e7..4f444f02fce7e747c016158000f01f63c1c39039:/termcol.plp diff --git a/termcol.plp b/termcol.plp index 24f9550..a040eed 100644 --- a/termcol.plp +++ b/termcol.plp @@ -1,147 +1,174 @@ -<: -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'; - -:> - - - -terminal colour cheat sheet - - - - - +<(common.inc.plp)><: + +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 + '], + data => ['termcol.inc.pl'], + stylesheet => [qw'light dark'], +}); + +:>

Terminal colours

- -
-

88-colour space

+sub coltable_hsv { + my ($dim, $rgbval, $greyramp) = @_; -
-

256-colour space

+:>
- - -