HEX: #DC143C
RGB: (220,20,60)
Rengin adı Crimson. #DC143C contains mainly red color. #DC143C ‘ nin web güvenlik rengi #CC0033 (ya da #C03) dir.
#DC143C color RGB value is (220,20,60).
RGB: (220,20,60) (86%,8%,24%)
R 220 of 255 = 86%
G 20 of 255 = 8%
B 60 of 255 = 24%
R + G + B ~ 39%. #DC143C is quite dark color.
R + G + B =
220 + 20 + 60 = 300 (100%)
R 220 of 300 ~ 73.33%
G 20 of 300 ~ 6.67%
B 60 of 300 ~ 20%
#DC143C rengi CMYK tonu (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% |
HEX | DC | 14 | 3C |
Decimal | 220 | 20 | 60 |
Binary | 11011100 | 10100 | 111100 |
Octal | 334 | 24 | 74 |
Examples of css and html codes for elements with #DC143C color. Also use rgb(220,20,60) instead hex code.
.myTextColor { color: #DC143C; }
<p style="color:#DC143C">This sample text font color is #DC143C.</p>
This text font color is #DC143C.
.myBgColor { background-color: #DC143C; }
<div style="background-color:#DC143C">Inner text</div>
This div background color is #DC143C.
.myBorderColor { border: 1px solid #DC143C; }
<div style="border:3px solid #DC143C">Div</div>
This div border color is #DC143C.
.myOpacity80 { color: #DC143C; opacity: 0.8; }
<p style="color:#DC143C;opacity:0.8;">80%</p>
Text with #DC143C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DC143C;}
<p style="text-shadow: 3px 3px 1px #DC143C">Text here.</p>
This text has shadow with #DC143C color.
.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>
This text has shadow with #DC143C primary color and red secondary color.
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>
This text has color #DC143C on black background.
This text has color #DC143C on white background.
This text has black color on #DC143C background.
This text has white color on #DC143C background.