HEX: #D8BB5A
RGB: (216,187,90)
#D8BB5A contains mainly red and green colors. Web safe color of #D8BB5A is #CCCC66 (or #CC6).
#D8BB5A color RGB value is (216,187,90).
RGB: (216,187,90) (85%,73%,35%)
R 216 of 255 = 85%
G 187 of 255 = 73%
B 90 of 255 = 35%
R + G + B ~ 64%. #D8BB5A is quite light color.
R + G + B =
216 + 187 + 90 = 493 (100%)
R 216 of 493 ~ 43.81%
G 187 of 493 ~ 37.93%
B 90 of 493 ~ 18.26%
#D8BB5A color CMYK value is (0,13,58,15).
CMYK: (0,13,58,15) C0M13Y58K15 (0%,13%,58%,15%) (0.00/0.13/0.58/0.15)
D8 | BB | 5A | |
---|---|---|---|
RGB | 216 | 187 | 90 |
HSL | 46° | 61.76% | 60.00% |
HSB/HSV | 46° | 58.33% | 84.71% |
CMYK | 0.00% | 13.43% | 58.33% |
15.29% |
HEX | D8 | BB | 5A |
Decimal | 216 | 187 | 90 |
Binary | 11011000 | 10111011 | 1011010 |
Octal | 330 | 273 | 132 |
Examples of css and html codes for elements with #D8BB5A color. Also use rgb(216,187,90) instead hex code.
.myTextColor { color: #D8BB5A; }
<p style="color:#D8BB5A">This sample text font color is #D8BB5A.</p>
This text font color is #D8BB5A.
.myBgColor { background-color: #D8BB5A; }
<div style="background-color:#D8BB5A">Inner text</div>
This div background color is #D8BB5A.
.myBorderColor { border: 1px solid #D8BB5A; }
<div style="border:3px solid #D8BB5A">Div</div>
This div border color is #D8BB5A.
.myOpacity80 { color: #D8BB5A; opacity: 0.8; }
<p style="color:#D8BB5A;opacity:0.8;">80%</p>
Text with #D8BB5A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8BB5A;}
<p style="text-shadow: 3px 3px 1px #D8BB5A">Text here.</p>
This text has shadow with #D8BB5A color.
.textShadow {text-shadow: 3px 3px 1px #D8BB5A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8BB5A, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8BB5A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8BB5A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8BB5A, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8BB5A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8BB5A; -webkit-box-shadow: 1px 1px 3px 2px #D8BB5A; box-shadow: 1px 1px 3px 2px #D8BB5A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8BB5A; -webkit-box-shadow: 1px 1px 3px 2px #D8BB5A; box-shadow:1px 1px 3px 2px #D8BB5A;">
Div content here</div>
This text has color #D8BB5A on black background.
This text has color #D8BB5A on white background.
This text has black color on #D8BB5A background.
This text has white color on #D8BB5A background.