HEX: #D4DB3B
RGB: (212,219,59)
#D4DB3B contains mainly red and green colors. Web safe color of #D4DB3B is #CCCC33 (or #CC3).
#D4DB3B color RGB value is (212,219,59).
RGB: (212,219,59) (83%,86%,23%)
R 212 of 255 = 83%
G 219 of 255 = 86%
B 59 of 255 = 23%
R + G + B ~ 64%. #D4DB3B is quite light color.
R + G + B =
212 + 219 + 59 = 490 (100%)
R 212 of 490 ~ 43.27%
G 219 of 490 ~ 44.69%
B 59 of 490 ~ 12.04%
#D4DB3B color CMYK value is (3,0,73,14).
CMYK: (3,0,73,14) C3M0Y73K14 (3%,0%,73%,14%) (0.03/0.00/0.73/0.14)
D4 | DB | 3B | |
---|---|---|---|
RGB | 212 | 219 | 59 |
HSL | 63° | 68.97% | 54.51% |
HSB/HSV | 63° | 73.06% | 85.88% |
CMYK | 3.20% | 0.00% | 73.06% |
14.12% |
HEX | D4 | DB | 3B |
Decimal | 212 | 219 | 59 |
Binary | 11010100 | 11011011 | 111011 |
Octal | 324 | 333 | 73 |
Examples of css and html codes for elements with #D4DB3B color. Also use rgb(212,219,59) instead hex code.
.myTextColor { color: #D4DB3B; }
<p style="color:#D4DB3B">This sample text font color is #D4DB3B.</p>
This text font color is #D4DB3B.
.myBgColor { background-color: #D4DB3B; }
<div style="background-color:#D4DB3B">Inner text</div>
This div background color is #D4DB3B.
.myBorderColor { border: 1px solid #D4DB3B; }
<div style="border:3px solid #D4DB3B">Div</div>
This div border color is #D4DB3B.
.myOpacity80 { color: #D4DB3B; opacity: 0.8; }
<p style="color:#D4DB3B;opacity:0.8;">80%</p>
Text with #D4DB3B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4DB3B;}
<p style="text-shadow: 3px 3px 1px #D4DB3B">Text here.</p>
This text has shadow with #D4DB3B color.
.textShadow {text-shadow: 3px 3px 1px #D4DB3B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4DB3B, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4DB3B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4DB3B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4DB3B, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4DB3B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4DB3B; -webkit-box-shadow: 1px 1px 3px 2px #D4DB3B; box-shadow: 1px 1px 3px 2px #D4DB3B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4DB3B; -webkit-box-shadow: 1px 1px 3px 2px #D4DB3B; box-shadow:1px 1px 3px 2px #D4DB3B;">
Div content here</div>
This text has color #D4DB3B on black background.
This text has color #D4DB3B on white background.
This text has black color on #D4DB3B background.
This text has white color on #D4DB3B background.