HEX: #D72C3A
RGB: (215,44,58)
#D72C3A contains mainly red color. Web safe color of #D72C3A is #CC3333 (or #C33).
#D72C3A color RGB value is (215,44,58).
RGB: (215,44,58) (84%,17%,23%)
R 215 of 255 = 84%
G 44 of 255 = 17%
B 58 of 255 = 23%
R + G + B ~ 41%. #D72C3A is middle color (not dark and not light).
R + G + B =
215 + 44 + 58 = 317 (100%)
R 215 of 317 ~ 67.82%
G 44 of 317 ~ 13.88%
B 58 of 317 ~ 18.3%
#D72C3A color CMYK value is (0,80,73,16).
CMYK: (0,80,73,16) C0M80Y73K16 (0%,80%,73%,16%) (0.00/0.80/0.73/0.16)
D7 | 2C | 3A | |
---|---|---|---|
RGB | 215 | 44 | 58 |
HSL | 355° | 68.13% | 50.78% |
HSB/HSV | 355° | 79.53% | 84.31% |
CMYK | 0.00% | 79.53% | 73.02% |
15.69% |
HEX | D7 | 2C | 3A |
Decimal | 215 | 44 | 58 |
Binary | 11010111 | 101100 | 111010 |
Octal | 327 | 54 | 72 |
Examples of css and html codes for elements with #D72C3A color. Also use rgb(215,44,58) instead hex code.
.myTextColor { color: #D72C3A; }
<p style="color:#D72C3A">This sample text font color is #D72C3A.</p>
This text font color is #D72C3A.
.myBgColor { background-color: #D72C3A; }
<div style="background-color:#D72C3A">Inner text</div>
This div background color is #D72C3A.
.myBorderColor { border: 1px solid #D72C3A; }
<div style="border:3px solid #D72C3A">Div</div>
This div border color is #D72C3A.
.myOpacity80 { color: #D72C3A; opacity: 0.8; }
<p style="color:#D72C3A;opacity:0.8;">80%</p>
Text with #D72C3A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D72C3A;}
<p style="text-shadow: 3px 3px 1px #D72C3A">Text here.</p>
This text has shadow with #D72C3A color.
.textShadow {text-shadow: 3px 3px 1px #D72C3A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D72C3A, 5px 5px 20px red">Text here.</p>
This text has shadow with #D72C3A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D72C3A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D72C3A, Direction=45, Strength=4)">Text</p>
This text has shadow with #D72C3A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D72C3A; -webkit-box-shadow: 1px 1px 3px 2px #D72C3A; box-shadow: 1px 1px 3px 2px #D72C3A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D72C3A; -webkit-box-shadow: 1px 1px 3px 2px #D72C3A; box-shadow:1px 1px 3px 2px #D72C3A;">
Div content here</div>
This text has color #D72C3A on black background.
This text has color #D72C3A on white background.
This text has black color on #D72C3A background.
This text has white color on #D72C3A background.