http://www.perlmonks.org?node_id=738960


in reply to How many colors does a rainbow have?

2.3125 × 1028:
#!/usr/bin/perl use strict; use warnings; my $red = 750e-9; # meters my $violet = 380e-9; my $distance = $red - $violet; my $planck_length = 1.6e-35; my $distinct_colors = $distance / $planck_length; print "There are $distinct_colors distinct colors\n";
[]s, HTH, Massa (κς,πμ,πλ)