HEX: #520918
RGB: (82,9,24)
Il colore #520918 contiene principalmente il rosso e il blu. Per il #520918 il colore web safe è #660000 (#600).
Il colore 520918 in RGB è definito come 82,9,24
RGB: (82,9,24) (32%,4%,9%)
R 82 da 255 = 32%
G 9 da 255 = 4%
B 24 da 255 = 9%
R + G + B ~ 15%. #520918 colore scuro.
R + G + B =
82 + 9 + 24 = 115 (100%)
R 82 da 115 ~ 71.3%
G 9 da 115 ~ 7.83%
B 24 da 115 ~ 20.87%
Il colore #520918 in CMYK è definito come 0,89,71,68.
CMYK: (0,89,71,68) C0M89Y71K68 (0%,89%,71%,68%) (0.00/0.89/0.71/0.68)
52 | 09 | 18 | |
---|---|---|---|
RGB | 82 | 9 | 24 |
HSL | 348° | 80.22% | 17.84% |
HSB/HSV | 348° | 89.02% | 32.16% |
CMYK | 0.00% | 89.02% | 70.73% |
67.84% |
Esadicemale | 52 | 09 | 18 |
Decimale | 82 | 9 | 24 |
Binario | 1010010 | 1001 | 11000 |
Ottale | 122 | 11 | 30 |
Esempi dei codici css e html per gli elementi di colore #520918. Utilizzate rgb(82,9,24) anche al posto del codice hex.
.myTextColor { color: #520918; }
<p style="color:#520918">This sample text font color is #520918.</p>
Il colore di questo testo è #520918.
.myBgColor { background-color: #520918; }
<div style="background-color:#520918">Inner text</div>
Questo div ha lo sfondo di colore #520918.
.myBorderColor { border: 1px solid #520918; }
<div style="border:3px solid #520918">Div</div>
Questo div ha i bordi di colore 520918.
.myOpacity80 { color: #520918; opacity: 0.8; }
<p style="color:#520918;opacity:0.8;">80%</p>
Il testo di color #520918 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520918;}
<p style="text-shadow: 3px 3px 1px #520918">Text here.</p>
Questo testo ha l'ombra di colore #520918.
.textShadow {text-shadow: 3px 3px 1px #520918, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520918, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #520918 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520918, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520918, Direction=45, Strength=4)">Text</p>
This text has shadow with #520918 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520918; -webkit-box-shadow: 1px 1px 3px 2px #520918; box-shadow: 1px 1px 3px 2px #520918; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520918; -webkit-box-shadow: 1px 1px 3px 2px #520918; box-shadow:1px 1px 3px 2px #520918;">
Div content here</div>
Questo e il testo di colore #520918 sullo sfondo nero.
Questo e il testo di colore #520918 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #520918.
Questo è un testo bianco sullo sfondo del colore #520918.