HEX: #D0221D
RGB: (208,34,29)
#D0221D contains mainly red color. Web safe color of #D0221D is #CC3333 (or #C33).
#D0221D color RGB value is (208,34,29).
RGB: (208,34,29) (82%,13%,11%)
R 208 of 255 = 82%
G 34 of 255 = 13%
B 29 of 255 = 11%
R + G + B ~ 35%. #D0221D is quite dark color.
R + G + B =
208 + 34 + 29 = 271 (100%)
R 208 of 271 ~ 76.75%
G 34 of 271 ~ 12.55%
B 29 of 271 ~ 10.7%
#D0221D color CMYK value is (0,84,86,18).
CMYK: (0,84,86,18) C0M84Y86K18 (0%,84%,86%,18%) (0.00/0.84/0.86/0.18)
D0 | 22 | 1D | |
---|---|---|---|
RGB | 208 | 34 | 29 |
HSL | 2° | 75.53% | 46.47% |
HSB/HSV | 2° | 86.06% | 81.57% |
CMYK | 0.00% | 83.65% | 86.06% |
18.43% |
HEX | D0 | 22 | 1D |
Decimal | 208 | 34 | 29 |
Binary | 11010000 | 100010 | 11101 |
Octal | 320 | 42 | 35 |
Examples of css and html codes for elements with #D0221D color. Also use rgb(208,34,29) instead hex code.
.myTextColor { color: #D0221D; }
<p style="color:#D0221D">This sample text font color is #D0221D.</p>
This text font color is #D0221D.
.myBgColor { background-color: #D0221D; }
<div style="background-color:#D0221D">Inner text</div>
This div background color is #D0221D.
.myBorderColor { border: 1px solid #D0221D; }
<div style="border:3px solid #D0221D">Div</div>
This div border color is #D0221D.
.myOpacity80 { color: #D0221D; opacity: 0.8; }
<p style="color:#D0221D;opacity:0.8;">80%</p>
Text with #D0221D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D0221D;}
<p style="text-shadow: 3px 3px 1px #D0221D">Text here.</p>
This text has shadow with #D0221D color.
.textShadow {text-shadow: 3px 3px 1px #D0221D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D0221D, 5px 5px 20px red">Text here.</p>
This text has shadow with #D0221D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D0221D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D0221D, Direction=45, Strength=4)">Text</p>
This text has shadow with #D0221D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D0221D; -webkit-box-shadow: 1px 1px 3px 2px #D0221D; box-shadow: 1px 1px 3px 2px #D0221D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D0221D; -webkit-box-shadow: 1px 1px 3px 2px #D0221D; box-shadow:1px 1px 3px 2px #D0221D;">
Div content here</div>
This text has color #D0221D on black background.
This text has color #D0221D on white background.
This text has black color on #D0221D background.
This text has white color on #D0221D background.