HEX: #DC143C
RGB: (220,20,60)
Il colore si chiama Crimson. Il colore #DC143C contiene principalmente il rosso. Per il #DC143C il colore web safe è #CC0033 (#C03).
Il colore DC143C in RGB è definito come 220,20,60
RGB: (220,20,60) (86%,8%,24%)
R 220 da 255 = 86%
G 20 da 255 = 8%
B 60 da 255 = 24%
R + G + B ~ 39%. #DC143C colore abbastanza scuro.
R + G + B =
220 + 20 + 60 = 300 (100%)
R 220 da 300 ~ 73.33%
G 20 da 300 ~ 6.67%
B 60 da 300 ~ 20%
Il colore #DC143C in CMYK è definito come 0,91,73,14.
CMYK: (0,91,73,14) C0M91Y73K14 (0%,91%,73%,14%) (0.00/0.91/0.73/0.14)
DC | 14 | 3C | |
---|---|---|---|
RGB | 220 | 20 | 60 |
HSL | 348° | 83.33% | 47.06% |
HSB/HSV | 348° | 90.91% | 86.27% |
CMYK | 0.00% | 90.91% | 72.73% |
13.73% |
Esadicemale | DC | 14 | 3C |
Decimale | 220 | 20 | 60 |
Binario | 11011100 | 10100 | 111100 |
Ottale | 334 | 24 | 74 |
Esempi dei codici css e html per gli elementi di colore #DC143C. Utilizzate rgb(220,20,60) anche al posto del codice hex.
.myTextColor { color: #DC143C; }
<p style="color:#DC143C">This sample text font color is #DC143C.</p>
Il colore di questo testo è #DC143C.
.myBgColor { background-color: #DC143C; }
<div style="background-color:#DC143C">Inner text</div>
Questo div ha lo sfondo di colore #DC143C.
.myBorderColor { border: 1px solid #DC143C; }
<div style="border:3px solid #DC143C">Div</div>
Questo div ha i bordi di colore DC143C.
.myOpacity80 { color: #DC143C; opacity: 0.8; }
<p style="color:#DC143C;opacity:0.8;">80%</p>
Il testo di color #DC143C e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DC143C;}
<p style="text-shadow: 3px 3px 1px #DC143C">Text here.</p>
Questo testo ha l'ombra di colore #DC143C.
.textShadow {text-shadow: 3px 3px 1px #DC143C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DC143C, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #DC143C e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DC143C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DC143C, Direction=45, Strength=4)">Text</p>
This text has shadow with #DC143C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DC143C; -webkit-box-shadow: 1px 1px 3px 2px #DC143C; box-shadow: 1px 1px 3px 2px #DC143C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DC143C; -webkit-box-shadow: 1px 1px 3px 2px #DC143C; box-shadow:1px 1px 3px 2px #DC143C;">
Div content here</div>
Questo e il testo di colore #DC143C sullo sfondo nero.
Questo e il testo di colore #DC143C sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #DC143C.
Questo è un testo bianco sullo sfondo del colore #DC143C.