Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Converting HSV colours to RGB

by ropey (Hermit)
on Jan 17, 2002 at 16:56 UTC ( [id://139494]=note: print w/replies, xml ) Need Help??


in reply to Re: Converting HSV colours to RGB
in thread Converting HSV colours to RGB

Thanks mate, Should solve my problem

Replies are listed 'Best First'.
Re^3: Converting HSV colours to RGB
by Anonymous Monk on May 15, 2013 at 16:53 UTC
    case 1 is wrong! should be: elsif ( $i == 1 ) { return $q, $v, $p;
      Also should replace: $h /= 60 with $h = ($h % 360) / 60;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://139494]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-23 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found