HEX: #D7BD32
RGB: (215,189,50)
#D7BD32 contains mainly red and green colors. Web safe color of #D7BD32 is #CCCC33 (or #CC3).
#D7BD32 color RGB value is (215,189,50).
RGB: (215,189,50) (84%,74%,20%)
R 215 of 255 = 84%
G 189 of 255 = 74%
B 50 of 255 = 20%
R + G + B ~ 59%. #D7BD32 is middle color (not dark and not light).
R + G + B =
215 + 189 + 50 = 454 (100%)
R 215 of 454 ~ 47.36%
G 189 of 454 ~ 41.63%
B 50 of 454 ~ 11.01%
#D7BD32 color CMYK value is (0,12,77,16).
CMYK: (0,12,77,16) C0M12Y77K16 (0%,12%,77%,16%) (0.00/0.12/0.77/0.16)
D7 | BD | 32 | |
---|---|---|---|
RGB | 215 | 189 | 50 |
HSL | 51° | 67.35% | 51.96% |
HSB/HSV | 51° | 76.74% | 84.31% |
CMYK | 0.00% | 12.09% | 76.74% |
15.69% |
HEX | D7 | BD | 32 |
Decimal | 215 | 189 | 50 |
Binary | 11010111 | 10111101 | 110010 |
Octal | 327 | 275 | 62 |
Examples of css and html codes for elements with #D7BD32 color. Also use rgb(215,189,50) instead hex code.
.myTextColor { color: #D7BD32; }
<p style="color:#D7BD32">This sample text font color is #D7BD32.</p>
This text font color is #D7BD32.
.myBgColor { background-color: #D7BD32; }
<div style="background-color:#D7BD32">Inner text</div>
This div background color is #D7BD32.
.myBorderColor { border: 1px solid #D7BD32; }
<div style="border:3px solid #D7BD32">Div</div>
This div border color is #D7BD32.
.myOpacity80 { color: #D7BD32; opacity: 0.8; }
<p style="color:#D7BD32;opacity:0.8;">80%</p>
Text with #D7BD32 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7BD32;}
<p style="text-shadow: 3px 3px 1px #D7BD32">Text here.</p>
This text has shadow with #D7BD32 color.
.textShadow {text-shadow: 3px 3px 1px #D7BD32, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7BD32, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7BD32 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7BD32, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7BD32, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7BD32 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7BD32; -webkit-box-shadow: 1px 1px 3px 2px #D7BD32; box-shadow: 1px 1px 3px 2px #D7BD32; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7BD32; -webkit-box-shadow: 1px 1px 3px 2px #D7BD32; box-shadow:1px 1px 3px 2px #D7BD32;">
Div content here</div>
This text has color #D7BD32 on black background.
This text has color #D7BD32 on white background.
This text has black color on #D7BD32 background.
This text has white color on #D7BD32 background.