HEX: #D7A526
RGB: (215,165,38)
#D7A526 contains mainly red and green colors. Web safe color of #D7A526 is #CC9933 (or #C93).
#D7A526 color RGB value is (215,165,38).
RGB: (215,165,38) (84%,65%,15%)
R 215 of 255 = 84%
G 165 of 255 = 65%
B 38 of 255 = 15%
R + G + B ~ 55%. #D7A526 is middle color (not dark and not light).
R + G + B =
215 + 165 + 38 = 418 (100%)
R 215 of 418 ~ 51.44%
G 165 of 418 ~ 39.47%
B 38 of 418 ~ 9.09%
#D7A526 color CMYK value is (0,23,82,16).
CMYK: (0,23,82,16) C0M23Y82K16 (0%,23%,82%,16%) (0.00/0.23/0.82/0.16)
D7 | A5 | 26 | |
---|---|---|---|
RGB | 215 | 165 | 38 |
HSL | 43° | 69.96% | 49.61% |
HSB/HSV | 43° | 82.33% | 84.31% |
CMYK | 0.00% | 23.26% | 82.33% |
15.69% |
HEX | D7 | A5 | 26 |
Decimal | 215 | 165 | 38 |
Binary | 11010111 | 10100101 | 100110 |
Octal | 327 | 245 | 46 |
Examples of css and html codes for elements with #D7A526 color. Also use rgb(215,165,38) instead hex code.
.myTextColor { color: #D7A526; }
<p style="color:#D7A526">This sample text font color is #D7A526.</p>
This text font color is #D7A526.
.myBgColor { background-color: #D7A526; }
<div style="background-color:#D7A526">Inner text</div>
This div background color is #D7A526.
.myBorderColor { border: 1px solid #D7A526; }
<div style="border:3px solid #D7A526">Div</div>
This div border color is #D7A526.
.myOpacity80 { color: #D7A526; opacity: 0.8; }
<p style="color:#D7A526;opacity:0.8;">80%</p>
Text with #D7A526 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7A526;}
<p style="text-shadow: 3px 3px 1px #D7A526">Text here.</p>
This text has shadow with #D7A526 color.
.textShadow {text-shadow: 3px 3px 1px #D7A526, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7A526, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7A526 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7A526, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7A526, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7A526 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7A526; -webkit-box-shadow: 1px 1px 3px 2px #D7A526; box-shadow: 1px 1px 3px 2px #D7A526; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7A526; -webkit-box-shadow: 1px 1px 3px 2px #D7A526; box-shadow:1px 1px 3px 2px #D7A526;">
Div content here</div>
This text has color #D7A526 on black background.
This text has color #D7A526 on white background.
This text has black color on #D7A526 background.
This text has white color on #D7A526 background.