HEX: #D51E38
RGB: (213,30,56)
Il colore #D51E38 contiene principalmente il rosso. Per il #D51E38 il colore web safe è #CC3333 (#C33).
Il colore D51E38 in RGB è definito come 213,30,56
RGB: (213,30,56) (84%,12%,22%)
R 213 da 255 = 84%
G 30 da 255 = 12%
B 56 da 255 = 22%
R + G + B ~ 39%. #D51E38 colore abbastanza scuro.
R + G + B =
213 + 30 + 56 = 299 (100%)
R 213 da 299 ~ 71.24%
G 30 da 299 ~ 10.03%
B 56 da 299 ~ 18.73%
Il colore #D51E38 in CMYK è definito come 0,86,74,16.
CMYK: (0,86,74,16) C0M86Y74K16 (0%,86%,74%,16%) (0.00/0.86/0.74/0.16)
D5 | 1E | 38 | |
---|---|---|---|
RGB | 213 | 30 | 56 |
HSL | 351° | 75.31% | 47.65% |
HSB/HSV | 351° | 85.92% | 83.53% |
CMYK | 0.00% | 85.92% | 73.71% |
16.47% |
Esadicemale | D5 | 1E | 38 |
Decimale | 213 | 30 | 56 |
Binario | 11010101 | 11110 | 111000 |
Ottale | 325 | 36 | 70 |
Esempi dei codici css e html per gli elementi di colore #D51E38. Utilizzate rgb(213,30,56) anche al posto del codice hex.
.myTextColor { color: #D51E38; }
<p style="color:#D51E38">This sample text font color is #D51E38.</p>
Il colore di questo testo è #D51E38.
.myBgColor { background-color: #D51E38; }
<div style="background-color:#D51E38">Inner text</div>
Questo div ha lo sfondo di colore #D51E38.
.myBorderColor { border: 1px solid #D51E38; }
<div style="border:3px solid #D51E38">Div</div>
Questo div ha i bordi di colore D51E38.
.myOpacity80 { color: #D51E38; opacity: 0.8; }
<p style="color:#D51E38;opacity:0.8;">80%</p>
Il testo di color #D51E38 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D51E38;}
<p style="text-shadow: 3px 3px 1px #D51E38">Text here.</p>
Questo testo ha l'ombra di colore #D51E38.
.textShadow {text-shadow: 3px 3px 1px #D51E38, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D51E38, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #D51E38 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D51E38, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D51E38, Direction=45, Strength=4)">Text</p>
This text has shadow with #D51E38 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D51E38; -webkit-box-shadow: 1px 1px 3px 2px #D51E38; box-shadow: 1px 1px 3px 2px #D51E38; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D51E38; -webkit-box-shadow: 1px 1px 3px 2px #D51E38; box-shadow:1px 1px 3px 2px #D51E38;">
Div content here</div>
Questo e il testo di colore #D51E38 sullo sfondo nero.
Questo e il testo di colore #D51E38 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #D51E38.
Questo è un testo bianco sullo sfondo del colore #D51E38.