HEX: #506D12
RGB: (80,109,18)
Il colore #506D12 contiene principalmente il rosso e il verde. Per il #506D12 il colore web safe è #666600 (#660).
Il colore 506D12 in RGB è definito come 80,109,18
RGB: (80,109,18) (31%,43%,7%)
R 80 da 255 = 31%
G 109 da 255 = 43%
B 18 da 255 = 7%
R + G + B ~ 27%. #506D12 colore abbastanza scuro.
R + G + B =
80 + 109 + 18 = 207 (100%)
R 80 da 207 ~ 38.65%
G 109 da 207 ~ 52.66%
B 18 da 207 ~ 8.7%
Il colore #506D12 in CMYK è definito come 27,0,83,57.
CMYK: (27,0,83,57) C27M0Y83K57 (27%,0%,83%,57%) (0.27/0.00/0.83/0.57)
50 | 6D | 12 | |
---|---|---|---|
RGB | 80 | 109 | 18 |
HSL | 79° | 71.65% | 24.90% |
HSB/HSV | 79° | 83.49% | 42.75% |
CMYK | 26.61% | 0.00% | 83.49% |
57.25% |
Esadicemale | 50 | 6D | 12 |
Decimale | 80 | 109 | 18 |
Binario | 1010000 | 1101101 | 10010 |
Ottale | 120 | 155 | 22 |
Esempi dei codici css e html per gli elementi di colore #506D12. Utilizzate rgb(80,109,18) anche al posto del codice hex.
.myTextColor { color: #506D12; }
<p style="color:#506D12">This sample text font color is #506D12.</p>
Il colore di questo testo è #506D12.
.myBgColor { background-color: #506D12; }
<div style="background-color:#506D12">Inner text</div>
Questo div ha lo sfondo di colore #506D12.
.myBorderColor { border: 1px solid #506D12; }
<div style="border:3px solid #506D12">Div</div>
Questo div ha i bordi di colore 506D12.
.myOpacity80 { color: #506D12; opacity: 0.8; }
<p style="color:#506D12;opacity:0.8;">80%</p>
Il testo di color #506D12 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506D12;}
<p style="text-shadow: 3px 3px 1px #506D12">Text here.</p>
Questo testo ha l'ombra di colore #506D12.
.textShadow {text-shadow: 3px 3px 1px #506D12, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506D12, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #506D12 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506D12, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506D12, Direction=45, Strength=4)">Text</p>
This text has shadow with #506D12 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506D12; -webkit-box-shadow: 1px 1px 3px 2px #506D12; box-shadow: 1px 1px 3px 2px #506D12; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506D12; -webkit-box-shadow: 1px 1px 3px 2px #506D12; box-shadow:1px 1px 3px 2px #506D12;">
Div content here</div>
Questo e il testo di colore #506D12 sullo sfondo nero.
Questo e il testo di colore #506D12 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #506D12.
Questo è un testo bianco sullo sfondo del colore #506D12.