in reply to Random Color Generator
Pretty sweet. For generating just one random color, I used
my @ca=('0','3','6','9','C','E'); my @bgc=('','',''); foreach my $c (@bgc){ $r=int(rand(6)); $c=$ca[$r].$ca[$r]; } my $bgc=join("",@bgc);
_________________________________________________________________________________
I like computer programming because it's like Legos for the mind.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Random Color Generator
by shibu_pu (Acolyte) on Jun 06, 2013 at 11:17 UTC | |
by choroba (Cardinal) on Jun 06, 2013 at 12:06 UTC | |
by OfficeLinebacker (Chaplain) on Jun 13, 2013 at 16:38 UTC |