HEX: #D7C31E
RGB: (215,195,30)
Il colore #D7C31E contiene principalmente il rosso e il verde. Per il #D7C31E il colore web safe è #CCCC33 (#CC3).
Il colore D7C31E in RGB è definito come 215,195,30
RGB: (215,195,30) (84%,76%,12%)
R 215 da 255 = 84%
G 195 da 255 = 76%
B 30 da 255 = 12%
R + G + B ~ 57%. #D7C31E colore medio (né scuro né chiaro).
R + G + B =
215 + 195 + 30 = 440 (100%)
R 215 da 440 ~ 48.86%
G 195 da 440 ~ 44.32%
B 30 da 440 ~ 6.82%
Il colore #D7C31E in CMYK è definito come 0,9,86,16.
CMYK: (0,9,86,16) C0M9Y86K16 (0%,9%,86%,16%) (0.00/0.09/0.86/0.16)
D7 | C3 | 1E | |
---|---|---|---|
RGB | 215 | 195 | 30 |
HSL | 54° | 75.51% | 48.04% |
HSB/HSV | 54° | 86.05% | 84.31% |
CMYK | 0.00% | 9.30% | 86.05% |
15.69% |
Esadicemale | D7 | C3 | 1E |
Decimale | 215 | 195 | 30 |
Binario | 11010111 | 11000011 | 11110 |
Ottale | 327 | 303 | 36 |
Esempi dei codici css e html per gli elementi di colore #D7C31E. Utilizzate rgb(215,195,30) anche al posto del codice hex.
.myTextColor { color: #D7C31E; }
<p style="color:#D7C31E">This sample text font color is #D7C31E.</p>
Il colore di questo testo è #D7C31E.
.myBgColor { background-color: #D7C31E; }
<div style="background-color:#D7C31E">Inner text</div>
Questo div ha lo sfondo di colore #D7C31E.
.myBorderColor { border: 1px solid #D7C31E; }
<div style="border:3px solid #D7C31E">Div</div>
Questo div ha i bordi di colore D7C31E.
.myOpacity80 { color: #D7C31E; opacity: 0.8; }
<p style="color:#D7C31E;opacity:0.8;">80%</p>
Il testo di color #D7C31E e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7C31E;}
<p style="text-shadow: 3px 3px 1px #D7C31E">Text here.</p>
Questo testo ha l'ombra di colore #D7C31E.
.textShadow {text-shadow: 3px 3px 1px #D7C31E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7C31E, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #D7C31E e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7C31E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7C31E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7C31E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7C31E; -webkit-box-shadow: 1px 1px 3px 2px #D7C31E; box-shadow: 1px 1px 3px 2px #D7C31E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7C31E; -webkit-box-shadow: 1px 1px 3px 2px #D7C31E; box-shadow:1px 1px 3px 2px #D7C31E;">
Div content here</div>
Questo e il testo di colore #D7C31E sullo sfondo nero.
Questo e il testo di colore #D7C31E sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #D7C31E.
Questo è un testo bianco sullo sfondo del colore #D7C31E.