HEX: #D4214D
RGB: (212,33,77)
#D4214D contains mainly red color. Web safe color of #D4214D is #CC3333 (or #C33).
#D4214D color RGB value is (212,33,77).
RGB: (212,33,77) (83%,13%,30%)
R 212 of 255 = 83%
G 33 of 255 = 13%
B 77 of 255 = 30%
R + G + B ~ 42%. #D4214D is middle color (not dark and not light).
R + G + B =
212 + 33 + 77 = 322 (100%)
R 212 of 322 ~ 65.84%
G 33 of 322 ~ 10.25%
B 77 of 322 ~ 23.91%
#D4214D color CMYK value is (0,84,64,17).
CMYK: (0,84,64,17) C0M84Y64K17 (0%,84%,64%,17%) (0.00/0.84/0.64/0.17)
D4 | 21 | 4D | |
---|---|---|---|
RGB | 212 | 33 | 77 |
HSL | 345° | 73.06% | 48.04% |
HSB/HSV | 345° | 84.43% | 83.14% |
CMYK | 0.00% | 84.43% | 63.68% |
16.86% |
HEX | D4 | 21 | 4D |
Decimal | 212 | 33 | 77 |
Binary | 11010100 | 100001 | 1001101 |
Octal | 324 | 41 | 115 |
Examples of css and html codes for elements with #D4214D color. Also use rgb(212,33,77) instead hex code.
.myTextColor { color: #D4214D; }
<p style="color:#D4214D">This sample text font color is #D4214D.</p>
This text font color is #D4214D.
.myBgColor { background-color: #D4214D; }
<div style="background-color:#D4214D">Inner text</div>
This div background color is #D4214D.
.myBorderColor { border: 1px solid #D4214D; }
<div style="border:3px solid #D4214D">Div</div>
This div border color is #D4214D.
.myOpacity80 { color: #D4214D; opacity: 0.8; }
<p style="color:#D4214D;opacity:0.8;">80%</p>
Text with #D4214D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4214D;}
<p style="text-shadow: 3px 3px 1px #D4214D">Text here.</p>
This text has shadow with #D4214D color.
.textShadow {text-shadow: 3px 3px 1px #D4214D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4214D, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4214D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4214D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4214D, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4214D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4214D; -webkit-box-shadow: 1px 1px 3px 2px #D4214D; box-shadow: 1px 1px 3px 2px #D4214D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4214D; -webkit-box-shadow: 1px 1px 3px 2px #D4214D; box-shadow:1px 1px 3px 2px #D4214D;">
Div content here</div>
This text has color #D4214D on black background.
This text has color #D4214D on white background.
This text has black color on #D4214D background.
This text has white color on #D4214D background.