HEX: #D9C816
RGB: (217,200,22)
Il colore #D9C816 contiene principalmente il rosso e il verde. Per il #D9C816 il colore web safe è #CCCC00 (#CC0).
Il colore D9C816 in RGB è definito come 217,200,22
RGB: (217,200,22) (85%,78%,9%)
R 217 da 255 = 85%
G 200 da 255 = 78%
B 22 da 255 = 9%
R + G + B ~ 57%. #D9C816 colore medio (né scuro né chiaro).
R + G + B =
217 + 200 + 22 = 439 (100%)
R 217 da 439 ~ 49.43%
G 200 da 439 ~ 45.56%
B 22 da 439 ~ 5.01%
Il colore #D9C816 in CMYK è definito come 0,8,90,15.
CMYK: (0,8,90,15) C0M8Y90K15 (0%,8%,90%,15%) (0.00/0.08/0.90/0.15)
D9 | C8 | 16 | |
---|---|---|---|
RGB | 217 | 200 | 22 |
HSL | 55° | 81.59% | 46.86% |
HSB/HSV | 55° | 89.86% | 85.10% |
CMYK | 0.00% | 7.83% | 89.86% |
14.90% |
Esadicemale | D9 | C8 | 16 |
Decimale | 217 | 200 | 22 |
Binario | 11011001 | 11001000 | 10110 |
Ottale | 331 | 310 | 26 |
Esempi dei codici css e html per gli elementi di colore #D9C816. Utilizzate rgb(217,200,22) anche al posto del codice hex.
.myTextColor { color: #D9C816; }
<p style="color:#D9C816">This sample text font color is #D9C816.</p>
Il colore di questo testo è #D9C816.
.myBgColor { background-color: #D9C816; }
<div style="background-color:#D9C816">Inner text</div>
Questo div ha lo sfondo di colore #D9C816.
.myBorderColor { border: 1px solid #D9C816; }
<div style="border:3px solid #D9C816">Div</div>
Questo div ha i bordi di colore D9C816.
.myOpacity80 { color: #D9C816; opacity: 0.8; }
<p style="color:#D9C816;opacity:0.8;">80%</p>
Il testo di color #D9C816 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9C816;}
<p style="text-shadow: 3px 3px 1px #D9C816">Text here.</p>
Questo testo ha l'ombra di colore #D9C816.
.textShadow {text-shadow: 3px 3px 1px #D9C816, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9C816, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #D9C816 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9C816, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9C816, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9C816 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9C816; -webkit-box-shadow: 1px 1px 3px 2px #D9C816; box-shadow: 1px 1px 3px 2px #D9C816; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9C816; -webkit-box-shadow: 1px 1px 3px 2px #D9C816; box-shadow:1px 1px 3px 2px #D9C816;">
Div content here</div>
Questo e il testo di colore #D9C816 sullo sfondo nero.
Questo e il testo di colore #D9C816 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #D9C816.
Questo è un testo bianco sullo sfondo del colore #D9C816.