Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: RE: hex color generator

by extremely (Priest)
on Apr 06, 2001 at 20:09 UTC ( #70504=note: print w/replies, xml ) Need Help??


in reply to RE: hex color generator
in thread hex color generator

You want that sprintf string to be "%02x%02x%02x" so that zeropadding is turned on and set to 2 chars width. otherwise (255,128,9) gets you 'ff809' which may not be too useful where a 6 char value is required. =)

--
$you = new YOU;
honk() if $you->love(perl)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://70504]
help
Chatterbox?
[marinersk]: That has always been its behavior, but I'm a visual/spacial- awareness guy. When the node disappears, it messes with my head, even though it is on the right margin.
[marinersk]: I was hoping there was a way to turn it on and make it stay on.
[LanX]: what is the intention of your question?
[LanX]: why do you need to see the nodelet without votes left???

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2017-05-29 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?