GDGraph

 view release on metacpan or  search on metacpan

Graph/colour.pm  view on Meta::CPAN

    }

    return;
}

=head2 rgb2hex($red, $green, $blue)

=head2 hex2rgb('#7fe310')

These functions translate a list of RGB values into a hexadecimal
string, as is commonly used in HTML and the Image::Magick API, and vice
versa.
Exported with the :convert tag.

=cut

# Color translation
sub rgb2hex
{
    return unless @_ == 3;
    my $color = '#';



( run in 0.968 second using v1.01-cache-2.11-cpan-beeb90c9504 )