HEX: #511532
RGB: (81,21,50)
Il colore #511532 contiene principalmente il rosso e il blu. Per il #511532 il colore web safe è #660033 (#603).
Il colore 511532 in RGB è definito come 81,21,50
RGB: (81,21,50) (32%,8%,20%)
R 81 da 255 = 32%
G 21 da 255 = 8%
B 50 da 255 = 20%
R + G + B ~ 20%. #511532 colore scuro.
R + G + B =
81 + 21 + 50 = 152 (100%)
R 81 da 152 ~ 53.29%
G 21 da 152 ~ 13.82%
B 50 da 152 ~ 32.89%
Il colore #511532 in CMYK è definito come 0,74,38,68.
CMYK: (0,74,38,68) C0M74Y38K68 (0%,74%,38%,68%) (0.00/0.74/0.38/0.68)
51 | 15 | 32 | |
---|---|---|---|
RGB | 81 | 21 | 50 |
HSL | 331° | 58.82% | 20.00% |
HSB/HSV | 331° | 74.07% | 31.76% |
CMYK | 0.00% | 74.07% | 38.27% |
68.24% |
Esadicemale | 51 | 15 | 32 |
Decimale | 81 | 21 | 50 |
Binario | 1010001 | 10101 | 110010 |
Ottale | 121 | 25 | 62 |
Esempi dei codici css e html per gli elementi di colore #511532. Utilizzate rgb(81,21,50) anche al posto del codice hex.
.myTextColor { color: #511532; }
<p style="color:#511532">This sample text font color is #511532.</p>
Il colore di questo testo è #511532.
.myBgColor { background-color: #511532; }
<div style="background-color:#511532">Inner text</div>
Questo div ha lo sfondo di colore #511532.
.myBorderColor { border: 1px solid #511532; }
<div style="border:3px solid #511532">Div</div>
Questo div ha i bordi di colore 511532.
.myOpacity80 { color: #511532; opacity: 0.8; }
<p style="color:#511532;opacity:0.8;">80%</p>
Il testo di color #511532 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511532;}
<p style="text-shadow: 3px 3px 1px #511532">Text here.</p>
Questo testo ha l'ombra di colore #511532.
.textShadow {text-shadow: 3px 3px 1px #511532, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511532, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #511532 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511532, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511532, Direction=45, Strength=4)">Text</p>
This text has shadow with #511532 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511532; -webkit-box-shadow: 1px 1px 3px 2px #511532; box-shadow: 1px 1px 3px 2px #511532; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511532; -webkit-box-shadow: 1px 1px 3px 2px #511532; box-shadow:1px 1px 3px 2px #511532;">
Div content here</div>
Questo e il testo di colore #511532 sullo sfondo nero.
Questo e il testo di colore #511532 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #511532.
Questo è un testo bianco sullo sfondo del colore #511532.