HEX: #D8A434
RGB: (216,164,52)
#D8A434 contains mainly red and green colors. Web safe color of #D8A434 is #CC9933 (or #C93).
#D8A434 color RGB value is (216,164,52).
RGB: (216,164,52) (85%,64%,20%)
R 216 of 255 = 85%
G 164 of 255 = 64%
B 52 of 255 = 20%
R + G + B ~ 56%. #D8A434 is middle color (not dark and not light).
R + G + B =
216 + 164 + 52 = 432 (100%)
R 216 of 432 ~ 50%
G 164 of 432 ~ 37.96%
B 52 of 432 ~ 12.04%
#D8A434 color CMYK value is (0,24,76,15).
CMYK: (0,24,76,15) C0M24Y76K15 (0%,24%,76%,15%) (0.00/0.24/0.76/0.15)
D8 | A4 | 34 | |
---|---|---|---|
RGB | 216 | 164 | 52 |
HSL | 41° | 67.77% | 52.55% |
HSB/HSV | 41° | 75.93% | 84.71% |
CMYK | 0.00% | 24.07% | 75.93% |
15.29% |
HEX | D8 | A4 | 34 |
Decimal | 216 | 164 | 52 |
Binary | 11011000 | 10100100 | 110100 |
Octal | 330 | 244 | 64 |
Examples of css and html codes for elements with #D8A434 color. Also use rgb(216,164,52) instead hex code.
.myTextColor { color: #D8A434; }
<p style="color:#D8A434">This sample text font color is #D8A434.</p>
This text font color is #D8A434.
.myBgColor { background-color: #D8A434; }
<div style="background-color:#D8A434">Inner text</div>
This div background color is #D8A434.
.myBorderColor { border: 1px solid #D8A434; }
<div style="border:3px solid #D8A434">Div</div>
This div border color is #D8A434.
.myOpacity80 { color: #D8A434; opacity: 0.8; }
<p style="color:#D8A434;opacity:0.8;">80%</p>
Text with #D8A434 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8A434;}
<p style="text-shadow: 3px 3px 1px #D8A434">Text here.</p>
This text has shadow with #D8A434 color.
.textShadow {text-shadow: 3px 3px 1px #D8A434, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8A434, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8A434 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8A434, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8A434, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8A434 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8A434; -webkit-box-shadow: 1px 1px 3px 2px #D8A434; box-shadow: 1px 1px 3px 2px #D8A434; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8A434; -webkit-box-shadow: 1px 1px 3px 2px #D8A434; box-shadow:1px 1px 3px 2px #D8A434;">
Div content here</div>
This text has color #D8A434 on black background.
This text has color #D8A434 on white background.
This text has black color on #D8A434 background.
This text has white color on #D8A434 background.