View/Edit #52:html2rgb

Switch to edit mode.

Name(s): html2rgb
1:  "Copied from Colour Utilities (#700):HTML_rgb by Slacker (#55) May  2 12:54:49 2005"
2:  {HTML} = args
3:  HTML[1] == "#" && (HTML = HTML[2..$])
4:  r = tofloat(decode_binary("~" + HTML[1..2], 1)[1]) / 255.0
5:  g = tofloat(decode_binary("~" + HTML[3..4], 1)[1]) / 255.0
6:  b = tofloat(decode_binary("~" + HTML[5..6], 1)[1]) / 255.0
7:  return {r, g, b}
8:  "Last modified by manta (#7165) on Mon Aug 31 03:50:54 1998 EDT."
9:  "This verb previously owned by manta (#7165), and chowned to $slacker upon dewizarding (Sat Aug 17 14:50:06 2002 MDT)."
10: "Last modified by Dax (#789) on Mon May  2 12:54:49 2005 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

[home | help | who | search | setup | code]