termcol: add footer
[sheet.git] / termcol.plp
index 446b9c55d1866f04395c65a2b2b8a853849a1b70..2674fc99236ea00e4386da234e4a0bd8136022e4 100644 (file)
@@ -109,3 +109,35 @@ print "</table>\n\n";
 :></li>
 </ul>
 
+<hr>
+<h2>256-colour space</h2><ul>
+<:
+for my $r (0 .. 5) {
+       print '<li><table>';
+       for my $g (0 .. 5) {
+               print '<tr>';
+               for my $b (0 .. 5) {
+                       print colcell($r*6*6 + $g*6 + $b + 16, map { $_ && $_*40 + 55 } $r, $g, $b);
+               }
+       }
+       print "</table>\n";
+}
+print "\n";
+
+print '<li><table><tr>', (map { colcell(232+$_, ($_*10 + 8) x 3) } $_ .. $_+11), "</table>\n"
+       for 0, 12;
+print "\n";
+:></li>
+</ul>
+
+<hr>
+
+<p class="footer">
+       <a href="/" rel="home">sheet.shiar.nl</a>/termcol
+       <a href="git://git.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= $VERSION :></a>
+       created by <a href="http://shiar.nl/" rel="author">Shiar</a> •
+       <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
+          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>
+</p>
+
+</html>