HEX: #D5B823
RGB: (213,184,35)
#D5B823 contains mainly red and green colors. Web safe color of #D5B823 is #CCCC33 (or #CC3).
#D5B823 color RGB value is (213,184,35).
RGB: (213,184,35) (84%,72%,14%)
R 213 of 255 = 84%
G 184 of 255 = 72%
B 35 of 255 = 14%
R + G + B ~ 57%. #D5B823 is middle color (not dark and not light).
R + G + B =
213 + 184 + 35 = 432 (100%)
R 213 of 432 ~ 49.31%
G 184 of 432 ~ 42.59%
B 35 of 432 ~ 8.1%
#D5B823 color CMYK value is (0,14,84,16).
CMYK: (0,14,84,16) C0M14Y84K16 (0%,14%,84%,16%) (0.00/0.14/0.84/0.16)
D5 | B8 | 23 | |
---|---|---|---|
RGB | 213 | 184 | 35 |
HSL | 50° | 71.77% | 48.63% |
HSB/HSV | 50° | 83.57% | 83.53% |
CMYK | 0.00% | 13.62% | 83.57% |
16.47% |
HEX | D5 | B8 | 23 |
Decimal | 213 | 184 | 35 |
Binary | 11010101 | 10111000 | 100011 |
Octal | 325 | 270 | 43 |
Examples of css and html codes for elements with #D5B823 color. Also use rgb(213,184,35) instead hex code.
.myTextColor { color: #D5B823; }
<p style="color:#D5B823">This sample text font color is #D5B823.</p>
This text font color is #D5B823.
.myBgColor { background-color: #D5B823; }
<div style="background-color:#D5B823">Inner text</div>
This div background color is #D5B823.
.myBorderColor { border: 1px solid #D5B823; }
<div style="border:3px solid #D5B823">Div</div>
This div border color is #D5B823.
.myOpacity80 { color: #D5B823; opacity: 0.8; }
<p style="color:#D5B823;opacity:0.8;">80%</p>
Text with #D5B823 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5B823;}
<p style="text-shadow: 3px 3px 1px #D5B823">Text here.</p>
This text has shadow with #D5B823 color.
.textShadow {text-shadow: 3px 3px 1px #D5B823, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5B823, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5B823 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5B823, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5B823, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5B823 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5B823; -webkit-box-shadow: 1px 1px 3px 2px #D5B823; box-shadow: 1px 1px 3px 2px #D5B823; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5B823; -webkit-box-shadow: 1px 1px 3px 2px #D5B823; box-shadow:1px 1px 3px 2px #D5B823;">
Div content here</div>
This text has color #D5B823 on black background.
This text has color #D5B823 on white background.
This text has black color on #D5B823 background.
This text has white color on #D5B823 background.