HEX: #D74C3B
RGB: (215,76,59)
#D74C3B contains mainly red color. Web safe color of #D74C3B is #CC3333 (or #C33).
#D74C3B color RGB value is (215,76,59).
RGB: (215,76,59) (84%,30%,23%)
R 215 of 255 = 84%
G 76 of 255 = 30%
B 59 of 255 = 23%
R + G + B ~ 46%. #D74C3B is middle color (not dark and not light).
R + G + B =
215 + 76 + 59 = 350 (100%)
R 215 of 350 ~ 61.43%
G 76 of 350 ~ 21.71%
B 59 of 350 ~ 16.86%
#D74C3B color CMYK value is (0,65,73,16).
CMYK: (0,65,73,16) C0M65Y73K16 (0%,65%,73%,16%) (0.00/0.65/0.73/0.16)
D7 | 4C | 3B | |
---|---|---|---|
RGB | 215 | 76 | 59 |
HSL | 7° | 66.10% | 53.73% |
HSB/HSV | 7° | 72.56% | 84.31% |
CMYK | 0.00% | 64.65% | 72.56% |
15.69% |
HEX | D7 | 4C | 3B |
Decimal | 215 | 76 | 59 |
Binary | 11010111 | 1001100 | 111011 |
Octal | 327 | 114 | 73 |
Examples of css and html codes for elements with #D74C3B color. Also use rgb(215,76,59) instead hex code.
.myTextColor { color: #D74C3B; }
<p style="color:#D74C3B">This sample text font color is #D74C3B.</p>
This text font color is #D74C3B.
.myBgColor { background-color: #D74C3B; }
<div style="background-color:#D74C3B">Inner text</div>
This div background color is #D74C3B.
.myBorderColor { border: 1px solid #D74C3B; }
<div style="border:3px solid #D74C3B">Div</div>
This div border color is #D74C3B.
.myOpacity80 { color: #D74C3B; opacity: 0.8; }
<p style="color:#D74C3B;opacity:0.8;">80%</p>
Text with #D74C3B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D74C3B;}
<p style="text-shadow: 3px 3px 1px #D74C3B">Text here.</p>
This text has shadow with #D74C3B color.
.textShadow {text-shadow: 3px 3px 1px #D74C3B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D74C3B, 5px 5px 20px red">Text here.</p>
This text has shadow with #D74C3B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D74C3B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D74C3B, Direction=45, Strength=4)">Text</p>
This text has shadow with #D74C3B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D74C3B; -webkit-box-shadow: 1px 1px 3px 2px #D74C3B; box-shadow: 1px 1px 3px 2px #D74C3B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D74C3B; -webkit-box-shadow: 1px 1px 3px 2px #D74C3B; box-shadow:1px 1px 3px 2px #D74C3B;">
Div content here</div>
This text has color #D74C3B on black background.
This text has color #D74C3B on white background.
This text has black color on #D74C3B background.
This text has white color on #D74C3B background.