HEX: #D5731F
RGB: (213,115,31)
#D5731F contains mainly red color. Web safe color of #D5731F is #CC6633 (or #C63).
#D5731F color RGB value is (213,115,31).
RGB: (213,115,31) (84%,45%,12%)
R 213 of 255 = 84%
G 115 of 255 = 45%
B 31 of 255 = 12%
R + G + B ~ 47%. #D5731F is middle color (not dark and not light).
R + G + B =
213 + 115 + 31 = 359 (100%)
R 213 of 359 ~ 59.33%
G 115 of 359 ~ 32.03%
B 31 of 359 ~ 8.64%
#D5731F color CMYK value is (0,46,85,16).
CMYK: (0,46,85,16) C0M46Y85K16 (0%,46%,85%,16%) (0.00/0.46/0.85/0.16)
D5 | 73 | 1F | |
---|---|---|---|
RGB | 213 | 115 | 31 |
HSL | 28° | 74.59% | 47.84% |
HSB/HSV | 28° | 85.45% | 83.53% |
CMYK | 0.00% | 46.01% | 85.45% |
16.47% |
HEX | D5 | 73 | 1F |
Decimal | 213 | 115 | 31 |
Binary | 11010101 | 1110011 | 11111 |
Octal | 325 | 163 | 37 |
Examples of css and html codes for elements with #D5731F color. Also use rgb(213,115,31) instead hex code.
.myTextColor { color: #D5731F; }
<p style="color:#D5731F">This sample text font color is #D5731F.</p>
This text font color is #D5731F.
.myBgColor { background-color: #D5731F; }
<div style="background-color:#D5731F">Inner text</div>
This div background color is #D5731F.
.myBorderColor { border: 1px solid #D5731F; }
<div style="border:3px solid #D5731F">Div</div>
This div border color is #D5731F.
.myOpacity80 { color: #D5731F; opacity: 0.8; }
<p style="color:#D5731F;opacity:0.8;">80%</p>
Text with #D5731F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5731F;}
<p style="text-shadow: 3px 3px 1px #D5731F">Text here.</p>
This text has shadow with #D5731F color.
.textShadow {text-shadow: 3px 3px 1px #D5731F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5731F, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5731F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5731F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5731F, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5731F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5731F; -webkit-box-shadow: 1px 1px 3px 2px #D5731F; box-shadow: 1px 1px 3px 2px #D5731F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5731F; -webkit-box-shadow: 1px 1px 3px 2px #D5731F; box-shadow:1px 1px 3px 2px #D5731F;">
Div content here</div>
This text has color #D5731F on black background.
This text has color #D5731F on white background.
This text has black color on #D5731F background.
This text has white color on #D5731F background.