NAME
Bio::Gonzales::Util::Common::Visual::Color::Generator - generate distinguishable colors in RGB format
SYNOPSIS
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]"
;
}
SUBROUTINES/METHODS
generate($number_of_colors)
Generate array of a given number color triplets.
generate_as_string($number_of_colors)
Generate string "RRR GGG BBB" version from a given number of colors
AUTHOR
jw bargsten, <joachim.bargsten at wur.nl>