A lot of times we need an inverse of a specific color -- like text color on a button. This script asks you for a hex color and makes the inversed color for you.
Run the code - See the code
Enter a 6-digit Hexadecimal color Code to get the Inverse
EEF3FB == EEF2F7
<.center>
<.FORM>
<.input type="button" value="Click Here To Enter Color Name or Hex"
onClick=" var gg = prompt('Enter A Color name or HEX','');
document.bgColor=gg">
<./FORM>
<./center>