HEX: #512D6F
RGB: (81,45,111)
Il colore #512D6F contiene principalmente il rosso e il blu. Per il #512D6F il colore web safe è #663366 (#636).
Il colore 512D6F in RGB è definito come 81,45,111
RGB: (81,45,111)
(32%, 18%, 44%)
R 81 da 255 = 32%
G 45 da 255 = 18%
B 111 da 255 = 44%
R + G + B ~ 31%. #512D6F colore abbastanza scuro.
R + G + B = 81 + 45 + 111 = 237 (100%)
R 81 da 237 ~ 34.18%
G 45 da 237 ~ 18.99%
B 111 da 237 ~ 46.84'%
Il colore #512D6F in CMYK è definito come 27,59,0,56.
CMYK: (27,59,0,56)
C27M59Y0K56 (27%, 59%, 0%, 56%)
(0.27 / 0.59 / 0.00 / 0.56)
Il #512D6F nei modelli di colore popolari.
51 | 2D | 6F | |
---|---|---|---|
RGB | 81 | 45 | 111 |
HSL | 273° | 42.31% | 30.59% |
HSB/HSV | 273° | 59.46% | 43.53% |
CMYK | 27.03% | 59.46% | 0.00% |
56.47% |
Il #512D6F nei modelli numerici popolari.
Esadicemale | 51 | 2D | 6F |
Decimale | 81 | 45 | 111 |
Binario | 1010001 | 101101 | 1101111 |
Ottale | 121 | 55 | 157 |
Tonalità scure del colore #512D6F
Tonalità chiare del colore #512D6F
Esempi dei codici css e html per gli elementi di colore #512D6F. Utilizzate rgb(81,45,111) anche al posto del codice hex.
.myTextColor { color: #512D6F; }
<p style="color:#512D6F">This sample text font color is #512D6F.</p>
Il colore di questo testo è #512D6F.
.myBgColor { background-color: #512D6F; }
<div style="background-color:#512D6F">Inner text</div>
Questo div ha lo sfondo di colore #512D6F.
.myBorderColor { border: 1px solid #512D6F; }
<div style="border:3px solid #512D6F">Div</div>
Questo div ha i bordi di colore 512D6F.
.myOpacity80 { color: #512D6F; opacity: 0.8; }
<p style="color:#512D6F;opacity:0.8;">80%</p>
Il testo di color #512D6F e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #512D6F;}
<p style="text-shadow: 3px 3px 1px #512D6F">Text here.</p>
Questo testo ha l'ombra di colore #512D6F.
.textShadow {text-shadow: 3px 3px 1px #512D6F', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #512D6F, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #512D6F e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#512D6F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#512D6F, Direction=45, Strength=4)">Text</p>
This text has shadow with #512D6F and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #512D6F;
-webkit-box-shadow: 1px 1px 3px 2px #512D6F;
box-shadow: 1px 1px 3px 2px #512D6F;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #512D6F; -webkit-box-shadow: 1px 1px 3px 2px #512D6F; box-shadow:1px 1px 3px 2px #512D6F;">
Div content here
</div>
Questo e il testo di colore #512D6F sullo sfondo nero.
Questo e il testo di colore #512D6F sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #512D6F.
Questo è un testo bianco sullo sfondo del colore #512D6F.
Il colore complimentare del #hex è #AED290..