:>
<h1>Terminal colours</h1>
-<section>
+<div class="section">
<:
sub luminance {
# perceived brightness (using ITU-R recommendation 601 luma co-efficients)
}
print "</table>\n\n";
}
-:></section>
+:></div>
<hr>
-<section>
+<div class="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";
-:></section>
+:></div>
<: if ($ENV{PATH_INFO} =~ /256/) { :>
<hr>
-<section>
+<div class="section">
<h2>256-colour space</h2>
<:
for my $r (0 .. 5) {
}
print "\n";
-:></section>
+:></div>
<: } :>
<hr>