HEX: #D5A53B
RGB: (213,165,59)
#D5A53B contains mainly red and green colors. Web safe color of #D5A53B is #CC9933 (or #C93).
#D5A53B color RGB value is (213,165,59).
RGB: (213,165,59) (84%,65%,23%)
R 213 of 255 = 84%
G 165 of 255 = 65%
B 59 of 255 = 23%
R + G + B ~ 57%. #D5A53B is middle color (not dark and not light).
R + G + B =
213 + 165 + 59 = 437 (100%)
R 213 of 437 ~ 48.74%
G 165 of 437 ~ 37.76%
B 59 of 437 ~ 13.5%
#D5A53B color CMYK value is (0,23,72,16).
CMYK: (0,23,72,16) C0M23Y72K16 (0%,23%,72%,16%) (0.00/0.23/0.72/0.16)
D5 | A5 | 3B | |
---|---|---|---|
RGB | 213 | 165 | 59 |
HSL | 41° | 64.71% | 53.33% |
HSB/HSV | 41° | 72.30% | 83.53% |
CMYK | 0.00% | 22.54% | 72.30% |
16.47% |
HEX | D5 | A5 | 3B |
Decimal | 213 | 165 | 59 |
Binary | 11010101 | 10100101 | 111011 |
Octal | 325 | 245 | 73 |
Examples of css and html codes for elements with #D5A53B color. Also use rgb(213,165,59) instead hex code.
.myTextColor { color: #D5A53B; }
<p style="color:#D5A53B">This sample text font color is #D5A53B.</p>
This text font color is #D5A53B.
.myBgColor { background-color: #D5A53B; }
<div style="background-color:#D5A53B">Inner text</div>
This div background color is #D5A53B.
.myBorderColor { border: 1px solid #D5A53B; }
<div style="border:3px solid #D5A53B">Div</div>
This div border color is #D5A53B.
.myOpacity80 { color: #D5A53B; opacity: 0.8; }
<p style="color:#D5A53B;opacity:0.8;">80%</p>
Text with #D5A53B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5A53B;}
<p style="text-shadow: 3px 3px 1px #D5A53B">Text here.</p>
This text has shadow with #D5A53B color.
.textShadow {text-shadow: 3px 3px 1px #D5A53B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5A53B, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5A53B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5A53B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5A53B, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5A53B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5A53B; -webkit-box-shadow: 1px 1px 3px 2px #D5A53B; box-shadow: 1px 1px 3px 2px #D5A53B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5A53B; -webkit-box-shadow: 1px 1px 3px 2px #D5A53B; box-shadow:1px 1px 3px 2px #D5A53B;">
Div content here</div>
This text has color #D5A53B on black background.
This text has color #D5A53B on white background.
This text has black color on #D5A53B background.
This text has white color on #D5A53B background.