HEX: #D11C2F
RGB: (209,28,47)
#D11C2F contains mainly red color. Web safe color of #D11C2F is #CC3333 (or #C33).
#D11C2F color RGB value is (209,28,47).
RGB: (209,28,47) (82%,11%,18%)
R 209 of 255 = 82%
G 28 of 255 = 11%
B 47 of 255 = 18%
R + G + B ~ 37%. #D11C2F is quite dark color.
R + G + B =
209 + 28 + 47 = 284 (100%)
R 209 of 284 ~ 73.59%
G 28 of 284 ~ 9.86%
B 47 of 284 ~ 16.55%
#D11C2F color CMYK value is (0,87,78,18).
CMYK: (0,87,78,18) C0M87Y78K18 (0%,87%,78%,18%) (0.00/0.87/0.78/0.18)
D1 | 1C | 2F | |
---|---|---|---|
RGB | 209 | 28 | 47 |
HSL | 354° | 76.37% | 46.47% |
HSB/HSV | 354° | 86.60% | 81.96% |
CMYK | 0.00% | 86.60% | 77.51% |
18.04% |
HEX | D1 | 1C | 2F |
Decimal | 209 | 28 | 47 |
Binary | 11010001 | 11100 | 101111 |
Octal | 321 | 34 | 57 |
Examples of css and html codes for elements with #D11C2F color. Also use rgb(209,28,47) instead hex code.
.myTextColor { color: #D11C2F; }
<p style="color:#D11C2F">This sample text font color is #D11C2F.</p>
This text font color is #D11C2F.
.myBgColor { background-color: #D11C2F; }
<div style="background-color:#D11C2F">Inner text</div>
This div background color is #D11C2F.
.myBorderColor { border: 1px solid #D11C2F; }
<div style="border:3px solid #D11C2F">Div</div>
This div border color is #D11C2F.
.myOpacity80 { color: #D11C2F; opacity: 0.8; }
<p style="color:#D11C2F;opacity:0.8;">80%</p>
Text with #D11C2F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D11C2F;}
<p style="text-shadow: 3px 3px 1px #D11C2F">Text here.</p>
This text has shadow with #D11C2F color.
.textShadow {text-shadow: 3px 3px 1px #D11C2F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D11C2F, 5px 5px 20px red">Text here.</p>
This text has shadow with #D11C2F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D11C2F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D11C2F, Direction=45, Strength=4)">Text</p>
This text has shadow with #D11C2F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D11C2F; -webkit-box-shadow: 1px 1px 3px 2px #D11C2F; box-shadow: 1px 1px 3px 2px #D11C2F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D11C2F; -webkit-box-shadow: 1px 1px 3px 2px #D11C2F; box-shadow:1px 1px 3px 2px #D11C2F;">
Div content here</div>
This text has color #D11C2F on black background.
This text has color #D11C2F on white background.
This text has black color on #D11C2F background.
This text has white color on #D11C2F background.