HEX: #D9B618
RGB: (217,182,24)
#D9B618 contains mainly red and green colors. Web safe color of #D9B618 is #CCCC00 (or #CC0).
#D9B618 color RGB value is (217,182,24).
RGB: (217,182,24) (85%,71%,9%)
R 217 of 255 = 85%
G 182 of 255 = 71%
B 24 of 255 = 9%
R + G + B ~ 55%. #D9B618 is middle color (not dark and not light).
R + G + B =
217 + 182 + 24 = 423 (100%)
R 217 of 423 ~ 51.3%
G 182 of 423 ~ 43.03%
B 24 of 423 ~ 5.67%
#D9B618 color CMYK value is (0,16,89,15).
CMYK: (0,16,89,15) C0M16Y89K15 (0%,16%,89%,15%) (0.00/0.16/0.89/0.15)
D9 | B6 | 18 | |
---|---|---|---|
RGB | 217 | 182 | 24 |
HSL | 49° | 80.08% | 47.25% |
HSB/HSV | 49° | 88.94% | 85.10% |
CMYK | 0.00% | 16.13% | 88.94% |
14.90% |
HEX | D9 | B6 | 18 |
Decimal | 217 | 182 | 24 |
Binary | 11011001 | 10110110 | 11000 |
Octal | 331 | 266 | 30 |
Examples of css and html codes for elements with #D9B618 color. Also use rgb(217,182,24) instead hex code.
.myTextColor { color: #D9B618; }
<p style="color:#D9B618">This sample text font color is #D9B618.</p>
This text font color is #D9B618.
.myBgColor { background-color: #D9B618; }
<div style="background-color:#D9B618">Inner text</div>
This div background color is #D9B618.
.myBorderColor { border: 1px solid #D9B618; }
<div style="border:3px solid #D9B618">Div</div>
This div border color is #D9B618.
.myOpacity80 { color: #D9B618; opacity: 0.8; }
<p style="color:#D9B618;opacity:0.8;">80%</p>
Text with #D9B618 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9B618;}
<p style="text-shadow: 3px 3px 1px #D9B618">Text here.</p>
This text has shadow with #D9B618 color.
.textShadow {text-shadow: 3px 3px 1px #D9B618, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9B618, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9B618 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9B618, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9B618, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9B618 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9B618; -webkit-box-shadow: 1px 1px 3px 2px #D9B618; box-shadow: 1px 1px 3px 2px #D9B618; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9B618; -webkit-box-shadow: 1px 1px 3px 2px #D9B618; box-shadow:1px 1px 3px 2px #D9B618;">
Div content here</div>
This text has color #D9B618 on black background.
This text has color #D9B618 on white background.
This text has black color on #D9B618 background.
This text has white color on #D9B618 background.