HEX: #D47F28
RGB: (212,127,40)
#D47F28 contains mainly red color. Web safe color of #D47F28 is #CC6633 (or #C63).
#D47F28 color RGB value is (212,127,40).
RGB: (212,127,40) (83%,50%,16%)
R 212 of 255 = 83%
G 127 of 255 = 50%
B 40 of 255 = 16%
R + G + B ~ 50%. #D47F28 is middle color (not dark and not light).
R + G + B =
212 + 127 + 40 = 379 (100%)
R 212 of 379 ~ 55.94%
G 127 of 379 ~ 33.51%
B 40 of 379 ~ 10.55%
#D47F28 color CMYK value is (0,40,81,17).
CMYK: (0,40,81,17) C0M40Y81K17 (0%,40%,81%,17%) (0.00/0.40/0.81/0.17)
D4 | 7F | 28 | |
---|---|---|---|
RGB | 212 | 127 | 40 |
HSL | 30° | 68.25% | 49.41% |
HSB/HSV | 30° | 81.13% | 83.14% |
CMYK | 0.00% | 40.09% | 81.13% |
16.86% |
HEX | D4 | 7F | 28 |
Decimal | 212 | 127 | 40 |
Binary | 11010100 | 1111111 | 101000 |
Octal | 324 | 177 | 50 |
Examples of css and html codes for elements with #D47F28 color. Also use rgb(212,127,40) instead hex code.
.myTextColor { color: #D47F28; }
<p style="color:#D47F28">This sample text font color is #D47F28.</p>
This text font color is #D47F28.
.myBgColor { background-color: #D47F28; }
<div style="background-color:#D47F28">Inner text</div>
This div background color is #D47F28.
.myBorderColor { border: 1px solid #D47F28; }
<div style="border:3px solid #D47F28">Div</div>
This div border color is #D47F28.
.myOpacity80 { color: #D47F28; opacity: 0.8; }
<p style="color:#D47F28;opacity:0.8;">80%</p>
Text with #D47F28 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D47F28;}
<p style="text-shadow: 3px 3px 1px #D47F28">Text here.</p>
This text has shadow with #D47F28 color.
.textShadow {text-shadow: 3px 3px 1px #D47F28, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D47F28, 5px 5px 20px red">Text here.</p>
This text has shadow with #D47F28 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D47F28, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D47F28, Direction=45, Strength=4)">Text</p>
This text has shadow with #D47F28 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D47F28; -webkit-box-shadow: 1px 1px 3px 2px #D47F28; box-shadow: 1px 1px 3px 2px #D47F28; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D47F28; -webkit-box-shadow: 1px 1px 3px 2px #D47F28; box-shadow:1px 1px 3px 2px #D47F28;">
Div content here</div>
This text has color #D47F28 on black background.
This text has color #D47F28 on white background.
This text has black color on #D47F28 background.
This text has white color on #D47F28 background.