Colors HEX | background color hex
HexadecimalColorsHexadecimalcolorvaluesarealsosupportedinallbrowsers.Ahexadecimalcolorisspecifiedwith:#RRGGBB.RR(red),GG(green)andBB(blue)arehexadecimalintegersbetween00andFFspecifyingtheintensityofthecolor.Forexample,#0000FFisdisplayedasblue,becausethebluecomponentissettoitshighestvalue(FF)andtheothersaresetto00.";}x+="";x+="";n=0;for(i=0;i";}x+="";x+="";document.getElementById("redtable").innerHTML=x;}functiondrawGreenTable(){varx,i,r,b;r="00";b="00";x=""x+="";for(i=0;i";}x+="";x+="";for(i...
Hexadecimal ColorsHexadecimal color values are also supported in all browsers.
A hexadecimal color is specified with: #RRGGBB.
RR (red), GG (green) and BB (blue) are hexadecimal integers between 00 and FF specifying the intensity of the color.
For example, #0000FF is displayed as blue, because the blue component is set to its highest value (FF) and the others are set to 00.
"; } x += ""; x += ""; n = 0; for (i = 0; i "; } x += ""; x += ""; document.getElementById("redtable").innerHTML = x; } function drawGreenTable() { var x, i, r, b; r = "00"; b = "00"; x = "" x += ""; for (i = 0; i "; } x += ""; x += ""; for (i = 0; i "; } x += ""; document.getElementById("greentable").innerHTML = x; } function drawBlueTable() { var x, i, r, g; r = "00"; g = "00"; x = "" x += ""; for (i = 0; i "; } x += ""; x += ""; for (i...