<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Unfortunately, upon closer 
examination, I see that this doesn't do jack.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=peter@brunone.com href="mailto:peter@brunone.com">Peter Brunone</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu 
  href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, April 20, 2001 12:10 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Javascript] How do I 
  convert "FF" to 255?</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; According to the Netscape 
  JavaScript reference, you can use escape(var) to get the hexadecimal value, 
  and unescape(var) to get the decimal value.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=RuiFortes@clix.pt href="mailto:RuiFortes@clix.pt">Rui Fortes</A> 
    </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu 
    href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, April 20, 2001 11:23 
    AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] How do I convert 
    "FF" to 255?</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=Arial size=2>Hello.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>How can I get an highlighted version of a 
    color.</FONT></DIV>
    <DIV><FONT face=Arial size=2>That is, how can I find the code of a color 
    wich is a lighter version of another color.</FONT></DIV>
    <DIV><FONT face=Arial size=2>I tryed to do this myself but I need, for 
    instance, to know how to get a number from a string representing an 
    hexadecimal number.</FONT></DIV>
    <DIV><FONT face=Arial size=2>I could then add some value to RGB components 
    and use RGB(newred, newgreen, newblue) to get that color.</FONT></DIV>
    <DIV><FONT face=Arial size=2>I found Hex function that returns a string 
    representing the hexadecimal convertion of a number.</FONT></DIV>
    <DIV><FONT face=Arial size=2>Is there an inverse function to turn a string 
    into a number?</FONT></DIV>
    <DIV><FONT face=Arial size=2>Something like afunc("FF") that returns 
    255.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>