What a great little script. Pick a color. You get to see it and then get its hex code. That's slick. Here's the script:
<FORM>
<INPUT TYPE="button" VALUE="Hex Coder" ONCLICK="
var cc=
prompt('Enter word(s) for color .')
document.bgColor=cc;
alert(document.bgColor)">
</FORM>