Html Color Code Pickup in javascript
<p>Actually i want that, suppose i have a colorcode #FF3366. How can i examine that it is lighter or darker?
Actually i want to create a textfield and when the font color of the textfield is changed to lighter color by a javascript then the background color of the textfield becomes darker autometically for showing the value of the text field clearly and vise versa.</p>

<p>Please help me.</p>
