HEX: #D8D31C
RGB: (216,211,28)
Il colore #D8D31C contiene principalmente il rosso e il verde. Per il #D8D31C il colore web safe è #CCCC33 (#CC3).
Il colore D8D31C in RGB è definito come 216,211,28
RGB: (216,211,28) (85%,83%,11%)
R 216 da 255 = 85%
G 211 da 255 = 83%
B 28 da 255 = 11%
R + G + B ~ 60%. #D8D31C colore medio (né scuro né chiaro).
R + G + B =
216 + 211 + 28 = 455 (100%)
R 216 da 455 ~ 47.47%
G 211 da 455 ~ 46.37%
B 28 da 455 ~ 6.15%
Il colore #D8D31C in CMYK è definito come 0,2,87,15.
CMYK: (0,2,87,15) C0M2Y87K15 (0%,2%,87%,15%) (0.00/0.02/0.87/0.15)
D8 | D3 | 1C | |
---|---|---|---|
RGB | 216 | 211 | 28 |
HSL | 58° | 77.05% | 47.84% |
HSB/HSV | 58° | 87.04% | 84.71% |
CMYK | 0.00% | 2.31% | 87.04% |
15.29% |
Esadicemale | D8 | D3 | 1C |
Decimale | 216 | 211 | 28 |
Binario | 11011000 | 11010011 | 11100 |
Ottale | 330 | 323 | 34 |
Esempi dei codici css e html per gli elementi di colore #D8D31C. Utilizzate rgb(216,211,28) anche al posto del codice hex.
.myTextColor { color: #D8D31C; }
<p style="color:#D8D31C">This sample text font color is #D8D31C.</p>
Il colore di questo testo è #D8D31C.
.myBgColor { background-color: #D8D31C; }
<div style="background-color:#D8D31C">Inner text</div>
Questo div ha lo sfondo di colore #D8D31C.
.myBorderColor { border: 1px solid #D8D31C; }
<div style="border:3px solid #D8D31C">Div</div>
Questo div ha i bordi di colore D8D31C.
.myOpacity80 { color: #D8D31C; opacity: 0.8; }
<p style="color:#D8D31C;opacity:0.8;">80%</p>
Il testo di color #D8D31C e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8D31C;}
<p style="text-shadow: 3px 3px 1px #D8D31C">Text here.</p>
Questo testo ha l'ombra di colore #D8D31C.
.textShadow {text-shadow: 3px 3px 1px #D8D31C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8D31C, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #D8D31C e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8D31C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8D31C, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8D31C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8D31C; -webkit-box-shadow: 1px 1px 3px 2px #D8D31C; box-shadow: 1px 1px 3px 2px #D8D31C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8D31C; -webkit-box-shadow: 1px 1px 3px 2px #D8D31C; box-shadow:1px 1px 3px 2px #D8D31C;">
Div content here</div>
Questo e il testo di colore #D8D31C sullo sfondo nero.
Questo e il testo di colore #D8D31C sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #D8D31C.
Questo è un testo bianco sullo sfondo del colore #D8D31C.