HEX: #D6B518
RGB: (214,181,24)
#D6B518 contains mainly red and green colors. Web safe color of #D6B518 is #CCCC00 (or #CC0).
#D6B518 color RGB value is (214,181,24).
RGB: (214,181,24) (84%,71%,9%)
R 214 of 255 = 84%
G 181 of 255 = 71%
B 24 of 255 = 9%
R + G + B ~ 55%. #D6B518 is middle color (not dark and not light).
R + G + B =
214 + 181 + 24 = 419 (100%)
R 214 of 419 ~ 51.07%
G 181 of 419 ~ 43.2%
B 24 of 419 ~ 5.73%
#D6B518 color CMYK value is (0,15,89,16).
CMYK: (0,15,89,16) C0M15Y89K16 (0%,15%,89%,16%) (0.00/0.15/0.89/0.16)
D6 | B5 | 18 | |
---|---|---|---|
RGB | 214 | 181 | 24 |
HSL | 50° | 79.83% | 46.67% |
HSB/HSV | 50° | 88.79% | 83.92% |
CMYK | 0.00% | 15.42% | 88.79% |
16.08% |
HEX | D6 | B5 | 18 |
Decimal | 214 | 181 | 24 |
Binary | 11010110 | 10110101 | 11000 |
Octal | 326 | 265 | 30 |
Examples of css and html codes for elements with #D6B518 color. Also use rgb(214,181,24) instead hex code.
.myTextColor { color: #D6B518; }
<p style="color:#D6B518">This sample text font color is #D6B518.</p>
This text font color is #D6B518.
.myBgColor { background-color: #D6B518; }
<div style="background-color:#D6B518">Inner text</div>
This div background color is #D6B518.
.myBorderColor { border: 1px solid #D6B518; }
<div style="border:3px solid #D6B518">Div</div>
This div border color is #D6B518.
.myOpacity80 { color: #D6B518; opacity: 0.8; }
<p style="color:#D6B518;opacity:0.8;">80%</p>
Text with #D6B518 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6B518;}
<p style="text-shadow: 3px 3px 1px #D6B518">Text here.</p>
This text has shadow with #D6B518 color.
.textShadow {text-shadow: 3px 3px 1px #D6B518, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6B518, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6B518 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6B518, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6B518, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6B518 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6B518; -webkit-box-shadow: 1px 1px 3px 2px #D6B518; box-shadow: 1px 1px 3px 2px #D6B518; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6B518; -webkit-box-shadow: 1px 1px 3px 2px #D6B518; box-shadow:1px 1px 3px 2px #D6B518;">
Div content here</div>
This text has color #D6B518 on black background.
This text has color #D6B518 on white background.
This text has black color on #D6B518 background.
This text has white color on #D6B518 background.