Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

ColorRamp1785

by BrowserUk (Patriarch)
on Nov 19, 2008 at 06:55 UTC ( [id://724491]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub rgb2n{ unpack 'N', pack 'CCCC', 0, @_ }
    
    ...
            $v < $_ and return rgb2n( $map{ $_ }->( $v % 255 / 256 ) ) for
    + @map;
        }
    }
    
  2. or download this
    #! perl -slw
    use strict;
    ...
    magenta -> white        255     0..255  255         256
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-03-28 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found