HEX: #511646
RGB: (81,22,70)
Il colore #511646 contiene il rosso, il verde e il blu in proporzioni più o meno uguali. Per il #511646 il colore web safe è #660033 (#603).
Il colore 511646 in RGB è definito come 81,22,70
RGB: (81,22,70) (32%,9%,27%)
R 81 da 255 = 32%
G 22 da 255 = 9%
B 70 da 255 = 27%
R + G + B ~ 23%. #511646 colore scuro.
R + G + B =
81 + 22 + 70 = 173 (100%)
R 81 da 173 ~ 46.82%
G 22 da 173 ~ 12.72%
B 70 da 173 ~ 40.46%
Il colore #511646 in CMYK è definito come 0,73,14,68.
CMYK: (0,73,14,68) C0M73Y14K68 (0%,73%,14%,68%) (0.00/0.73/0.14/0.68)
51 | 16 | 46 | |
---|---|---|---|
RGB | 81 | 22 | 70 |
HSL | 311° | 57.28% | 20.20% |
HSB/HSV | 311° | 72.84% | 31.76% |
CMYK | 0.00% | 72.84% | 13.58% |
68.24% |
Esadicemale | 51 | 16 | 46 |
Decimale | 81 | 22 | 70 |
Binario | 1010001 | 10110 | 1000110 |
Ottale | 121 | 26 | 106 |
Esempi dei codici css e html per gli elementi di colore #511646. Utilizzate rgb(81,22,70) anche al posto del codice hex.
.myTextColor { color: #511646; }
<p style="color:#511646">This sample text font color is #511646.</p>
Il colore di questo testo è #511646.
.myBgColor { background-color: #511646; }
<div style="background-color:#511646">Inner text</div>
Questo div ha lo sfondo di colore #511646.
.myBorderColor { border: 1px solid #511646; }
<div style="border:3px solid #511646">Div</div>
Questo div ha i bordi di colore 511646.
.myOpacity80 { color: #511646; opacity: 0.8; }
<p style="color:#511646;opacity:0.8;">80%</p>
Il testo di color #511646 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511646;}
<p style="text-shadow: 3px 3px 1px #511646">Text here.</p>
Questo testo ha l'ombra di colore #511646.
.textShadow {text-shadow: 3px 3px 1px #511646, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511646, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #511646 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511646, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511646, Direction=45, Strength=4)">Text</p>
This text has shadow with #511646 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511646; -webkit-box-shadow: 1px 1px 3px 2px #511646; box-shadow: 1px 1px 3px 2px #511646; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511646; -webkit-box-shadow: 1px 1px 3px 2px #511646; box-shadow:1px 1px 3px 2px #511646;">
Div content here</div>
Questo e il testo di colore #511646 sullo sfondo nero.
Questo e il testo di colore #511646 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #511646.
Questo è un testo bianco sullo sfondo del colore #511646.