"); sampleWin.document.close(); } function compareToWEB() { var wr = DEC_to_HEX(DEC_to_WEB(getRED())); var wg = DEC_to_HEX(DEC_to_WEB(getGRN())); var wb = DEC_to_HEX(DEC_to_WEB(getBLU())); var wh = wr + wg + wb; var h = getHEX(); var n_d = new Date(); var winName = "sampleWin" + n_d.getTime(); eval('var ' + winName + ' = window.open("about:blank","' + winName + '","width=500,height=200,left=10,top=10")'); eval("sampleWin = " + winName); sampleWin.document.open(); sampleWin.document.write(" Web Safe Comparison

"); sampleWin.document.write("
current color: #" + h + "
current color: #" + h + "

closest web safe color: #" + wh + "
closest web safe color: #" + wh + "

"); sampleWin.document.write("



"); sampleWin.document.close(); } function openMyColors() { var mycol = window.open("mycolors.html","_mycol","width=500,height=350,left=0,top=0,resizable,scrollbars"); } //-->

«   The RGB Color Calculator - A Web Page Color Choosing Tool   »
web safe
samples
random
table
my colors
help
  « enter 6-digit HEX code

    <HEX code area>
 « RGB values

    <RGB area>
   
     <tweaking area>
 « HSV values

    <HSV area>
© 2000-2002 by greg     comments or suggestions?