<!--- Start out with a base HEX web color. ---> <cfset strHEX = "FFCC00" /> <!--- Get the red, green, and blue parts (each two characters of the given HEX value). ---> <cfset strRed = Mid( strHEX, 1, 2 ) /> <cfset strGreen = Mid( strHEX, 3, 2 ) /> <cfset strBlue = Mid( strHEX, 5, 2 ) /> <!--- Convert the HEX colors to RGB decimal colors where 0x00 = 00 and 0xFF = 255. HEX is base 16 and we want to convert to base 10 (our standard number system). ---> Red : #strRed# : #InputBaseN( strRed, 16 )#<br /> Green : #strGreen# : #InputBaseN( strGreen, 16 )#<br /> Blue : #strBlue# : #InputBaseN( strBlue, 16 )#<br />