"); for (i=0;i" + CNA[i][0] + " = " + CNA[i][1] + "
"); } sampleWin.document.write("
Hosted by www.Geocities.ws

"); 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("
Hosted by www.Geocities.ws

"); sampleWin.document.close(); } //-->
� � The RGB Color Calculator - web page color resources � �
web safe
samples
random
table
links
help
enter 6-digit HEX code

� �
RGB values

� �

� �
HSV values

� �
Hosted by www.Geocities.ws

1