:>
<h1>Terminal colours</h1>
-<div class="section">
+<section>
<:
sub luminance {
# perceived brightness (using ITU-R recommendation 601 luma co-efficients)
}
print "</table>\n\n";
}
-:></div>
+:></section>
<hr>
-<div class="section">
+<section>
<h2>88-colour space</h2>
<:
for my $r (0 .. 3) {
print colcell(80+$_, (($_ + 2 + ($_>0)) * 255/11) x 3) for 0 .. 7;
print "</table>\n\n";
-:></div>
+:></section>
<: if ($ENV{PATH_INFO} =~ /256/) { :>
<hr>
-<div class="section">
+<section>
<h2>256-colour space</h2>
<:
for my $r (0 .. 5) {
}
print "\n";
-:></div>
+:></section>
<: } :>
<hr>