in reply to
Re: Re: Converting HSV colours to RGB
in thread
Converting HSV colours to RGB
case 1 is wrong! should be: elsif ( $i == 1 ) { return $q, $v, $p;
Comment on
Re^3: Converting HSV colours to RGB
Replies are listed 'Best First'.
Re^4: Converting HSV colours to RGB
by
djconnel
(Initiate)
on Feb 15, 2016 at 20:13 UTC
Also should replace: $h /= 60 with $h = ($h % 360) / 60;
[reply]
In Section
Seekers of Perl Wisdom