Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    my %hue = map { $_ => hue($_) } @colours;
    my @sorted = sort { $hue{$a} <=> $hue{$b} } keys %hue;
    say "@sorted";