HEX: #D42E15
RGB: (212,46,21)
Il colore #D42E15 contiene principalmente il rosso. Per il #D42E15 il colore web safe è #CC3300 (#C30).
Il colore D42E15 in RGB è definito come 212,46,21
RGB: (212,46,21) (83%,18%,8%)
R 212 da 255 = 83%
G 46 da 255 = 18%
B 21 da 255 = 8%
R + G + B ~ 36%. #D42E15 colore abbastanza scuro.
R + G + B =
212 + 46 + 21 = 279 (100%)
R 212 da 279 ~ 75.99%
G 46 da 279 ~ 16.49%
B 21 da 279 ~ 7.53%
Il colore #D42E15 in CMYK è definito come 0,78,90,17.
CMYK: (0,78,90,17) C0M78Y90K17 (0%,78%,90%,17%) (0.00/0.78/0.90/0.17)
D4 | 2E | 15 | |
---|---|---|---|
RGB | 212 | 46 | 21 |
HSL | 8° | 81.97% | 45.69% |
HSB/HSV | 8° | 90.09% | 83.14% |
CMYK | 0.00% | 78.30% | 90.09% |
16.86% |
Esadicemale | D4 | 2E | 15 |
Decimale | 212 | 46 | 21 |
Binario | 11010100 | 101110 | 10101 |
Ottale | 324 | 56 | 25 |
Esempi dei codici css e html per gli elementi di colore #D42E15. Utilizzate rgb(212,46,21) anche al posto del codice hex.
.myTextColor { color: #D42E15; }
<p style="color:#D42E15">This sample text font color is #D42E15.</p>
Il colore di questo testo è #D42E15.
.myBgColor { background-color: #D42E15; }
<div style="background-color:#D42E15">Inner text</div>
Questo div ha lo sfondo di colore #D42E15.
.myBorderColor { border: 1px solid #D42E15; }
<div style="border:3px solid #D42E15">Div</div>
Questo div ha i bordi di colore D42E15.
.myOpacity80 { color: #D42E15; opacity: 0.8; }
<p style="color:#D42E15;opacity:0.8;">80%</p>
Il testo di color #D42E15 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D42E15;}
<p style="text-shadow: 3px 3px 1px #D42E15">Text here.</p>
Questo testo ha l'ombra di colore #D42E15.
.textShadow {text-shadow: 3px 3px 1px #D42E15, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D42E15, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #D42E15 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D42E15, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D42E15, Direction=45, Strength=4)">Text</p>
This text has shadow with #D42E15 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D42E15; -webkit-box-shadow: 1px 1px 3px 2px #D42E15; box-shadow: 1px 1px 3px 2px #D42E15; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D42E15; -webkit-box-shadow: 1px 1px 3px 2px #D42E15; box-shadow:1px 1px 3px 2px #D42E15;">
Div content here</div>
Questo e il testo di colore #D42E15 sullo sfondo nero.
Questo e il testo di colore #D42E15 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #D42E15.
Questo è un testo bianco sullo sfondo del colore #D42E15.