#!/usr/bin/perl use Imager::Color; use strict; # define HSV colour option within the object initiation # my $hsv = Imager::Color->new( hsv => [ 120, 0.5, 1 ] # hue, v, s ); my @rgb = $hsv->rgba;