Bio::Gonzales::Util::Common::Visual::Color::Generator - generate distinguishable colors in RGB format
use Bio::Gonzales::Util::Common::Visual::Color::Generator; my $generator = Bio::Gonzales::Util::Common::Visual::Color::Generator->new; my $colors = $generator->generate(30); #number of colors as argument for my $c (@{$colors}) { say "R: $c->[0], G: $c->[1], B: $c->[2]"; }
Generate array of a given number color triplets.
Generate string "RRR GGG BBB" version from a given number of colors
jw bargsten, <joachim.bargsten at wur.nl>
<joachim.bargsten at wur.nl>
To install Bio::Gonzales, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Gonzales
CPAN shell
perl -MCPAN -e shell install Bio::Gonzales
For more information on module installation, please visit the detailed CPAN module installation guide.