颜色颜色名称(R,G,B)Hex Black(0,0,0)#000000 White(255,255,255)#FFFFFF Red(255,0,0)#FF0000 Lime(0,255,0)#00FF00 Blue(0,0,255)#0000FF Yellow(255,255,0)#FFFF00 Cyan(0,255,255)#00FFFF Magenta(255,0,255)#FF00FF Silver(192,192,192)#C0C0C0 ...
Silver RGB color code = #C0C0C0= 192*65536+192*256+192= (192,192,192)RED=192, GREEN=192, BLUE=192Silver color codes chartColorHTML / CSSColor NameHex Code#RRGGBBDecimal Code(R,G,B) lightgray #D3D3D3 rgb(211,211,211) silver #C0C0C0 rgb(192,192,192) darkgray #A9A9A9 rgb(169,...
gray / grey#808080(128,128,128) dark gray / dark grey#A9A9A9(169,169,169) silver#C0C0C0(192,192,192) light gray / light grey#D3D3D3(211,211,211) gainsboro#DCDCDC(220,220,220) white smoke#F5F5F5(245,245,245) white#FFFFFF(255,255,255)...
Color Name Color Hex Code R,G, B white #FFFFFF 255,255,255 black #000000 0,0,0 red #FF0000 255,0,0 blue #0000FF 0,0,255 green #008000 0,128,0 yellow #FFFF00 255,255,0Color Name Color Hex Code R,G, B gold #FFD700 255, 215, 0 silver #C0C0C0 192,192,192 bronze #CD...
Hex颜色代码 最常见的是Hex颜色代码;Hex代码为三字节的十六进制数字(意味着包含六个数位),其中每一字节或每两个字符分别代表红、绿、蓝颜色的强度。 #XXXXXX Hex代码字节值的范围从颜色强度最低的00到最高强度FF。举例来说,白色由最高强度的三基色混合而成,其Hex颜色代码即为#FFFFFF。
英文代码使用实例:<p style="color: red"> This is my font </p> HEX格式使用实例:<p style="color: #FFB6C1"> This is my font </p> RGB格式使用实例:<p style="color: rgb(219,112,147)"> Thi...
Silver#C0C0C0(192,192,192) Gray#808080(128,128,128) Maroon#800000(128,0,0) Olive#808000(128,128,0) Green#008000(0,128,0) Purple#800080(128,0,128) Teal#008080(0,128,128) Navy#000080(0,0,128) ColorColor NameHex Code #RRGGBB ...
#C2C2C2 (or 0xC2C2C2) is unknown color: approx Silver. HEX triplet: C2, C2 and C2. RGB value is (194,194,194). Sum of RGB (Red+Green+Blue) = 194+194+194=582 (77% of max value = 765). Red value is 194 (76.17% from 255 or 33.33% from 582); Green value is 1
functionRGBtoRGBA(r, g, b){if((g ==null) && (typeofr ==='string')){varhex = r.replace(/^\s*#|\s*$/g,'');if(hex.length===3){ hex = hex.replace(/(.)/g,'$1$1'); } r =parseInt(hex.substr(0,2),16); g =parseInt(hex.substr(2,2),16); b =parseInt(hex.subst...