HEX: #D8C624
RGB: (216,198,36)
#D8C624 contains mainly red and green colors. Web safe color of #D8C624 is #CCCC33 (or #CC3).
#D8C624 color RGB value is (216,198,36).
RGB: (216,198,36) (85%,78%,14%)
R 216 of 255 = 85%
G 198 of 255 = 78%
B 36 of 255 = 14%
R + G + B ~ 59%. #D8C624 is middle color (not dark and not light).
R + G + B =
216 + 198 + 36 = 450 (100%)
R 216 of 450 ~ 48%
G 198 of 450 ~ 44%
B 36 of 450 ~ 8%
#D8C624 color CMYK value is (0,8,83,15).
CMYK: (0,8,83,15) C0M8Y83K15 (0%,8%,83%,15%) (0.00/0.08/0.83/0.15)
D8 | C6 | 24 | |
---|---|---|---|
RGB | 216 | 198 | 36 |
HSL | 54° | 71.43% | 49.41% |
HSB/HSV | 54° | 83.33% | 84.71% |
CMYK | 0.00% | 8.33% | 83.33% |
15.29% |
HEX | D8 | C6 | 24 |
Decimal | 216 | 198 | 36 |
Binary | 11011000 | 11000110 | 100100 |
Octal | 330 | 306 | 44 |
Examples of css and html codes for elements with #D8C624 color. Also use rgb(216,198,36) instead hex code.
.myTextColor { color: #D8C624; }
<p style="color:#D8C624">This sample text font color is #D8C624.</p>
This text font color is #D8C624.
.myBgColor { background-color: #D8C624; }
<div style="background-color:#D8C624">Inner text</div>
This div background color is #D8C624.
.myBorderColor { border: 1px solid #D8C624; }
<div style="border:3px solid #D8C624">Div</div>
This div border color is #D8C624.
.myOpacity80 { color: #D8C624; opacity: 0.8; }
<p style="color:#D8C624;opacity:0.8;">80%</p>
Text with #D8C624 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8C624;}
<p style="text-shadow: 3px 3px 1px #D8C624">Text here.</p>
This text has shadow with #D8C624 color.
.textShadow {text-shadow: 3px 3px 1px #D8C624, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8C624, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8C624 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8C624, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8C624, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8C624 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8C624; -webkit-box-shadow: 1px 1px 3px 2px #D8C624; box-shadow: 1px 1px 3px 2px #D8C624; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8C624; -webkit-box-shadow: 1px 1px 3px 2px #D8C624; box-shadow:1px 1px 3px 2px #D8C624;">
Div content here</div>
This text has color #D8C624 on black background.
This text has color #D8C624 on white background.
This text has black color on #D8C624 background.
This text has white color on #D8C624 background.