HEX: #DC0020
RGB: (220,0,32)
Il colore #DC0020 contiene principalmente il rosso. Per il #DC0020 il colore web safe è #CC0033 (#C03).
Il colore DC0020 in RGB è definito come 220,0,32
RGB: (220,0,32) (86%,0%,13%)
R 220 da 255 = 86%
G 0 da 255 = 0%
B 32 da 255 = 13%
R + G + B ~ 33%. #DC0020 colore abbastanza scuro.
R + G + B =
220 + 0 + 32 = 252 (100%)
R 220 da 252 ~ 87.3%
G 0 da 252 ~ 0%
B 32 da 252 ~ 12.7%
Il colore #DC0020 in CMYK è definito come 0,100,85,14.
CMYK: (0,100,85,14) C0M100Y85K14 (0%,100%,85%,14%) (0.00/1.00/0.85/0.14)
DC | 00 | 20 | |
---|---|---|---|
RGB | 220 | 0 | 32 |
HSL | 351° | 100.00% | 43.14% |
HSB/HSV | 351° | 100.00% | 86.27% |
CMYK | 0.00% | 100.00% | 85.45% |
13.73% |
Esadicemale | DC | 00 | 20 |
Decimale | 220 | 0 | 32 |
Binario | 11011100 | 0 | 100000 |
Ottale | 334 | 0 | 40 |
Esempi dei codici css e html per gli elementi di colore #DC0020. Utilizzate rgb(220,0,32) anche al posto del codice hex.
.myTextColor { color: #DC0020; }
<p style="color:#DC0020">This sample text font color is #DC0020.</p>
Il colore di questo testo è #DC0020.
.myBgColor { background-color: #DC0020; }
<div style="background-color:#DC0020">Inner text</div>
Questo div ha lo sfondo di colore #DC0020.
.myBorderColor { border: 1px solid #DC0020; }
<div style="border:3px solid #DC0020">Div</div>
Questo div ha i bordi di colore DC0020.
.myOpacity80 { color: #DC0020; opacity: 0.8; }
<p style="color:#DC0020;opacity:0.8;">80%</p>
Il testo di color #DC0020 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DC0020;}
<p style="text-shadow: 3px 3px 1px #DC0020">Text here.</p>
Questo testo ha l'ombra di colore #DC0020.
.textShadow {text-shadow: 3px 3px 1px #DC0020, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DC0020, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #DC0020 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DC0020, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DC0020, Direction=45, Strength=4)">Text</p>
This text has shadow with #DC0020 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DC0020; -webkit-box-shadow: 1px 1px 3px 2px #DC0020; box-shadow: 1px 1px 3px 2px #DC0020; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DC0020; -webkit-box-shadow: 1px 1px 3px 2px #DC0020; box-shadow:1px 1px 3px 2px #DC0020;">
Div content here</div>
Questo e il testo di colore #DC0020 sullo sfondo nero.
Questo e il testo di colore #DC0020 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #DC0020.
Questo è un testo bianco sullo sfondo del colore #DC0020.