HEX: #D4D910
RGB: (212,217,16)
#D4D910 contains mainly red and green colors. Web safe color of #D4D910 is #CCCC00 (or #CC0).
#D4D910 color RGB value is (212,217,16).
RGB: (212,217,16) (83%,85%,6%)
R 212 of 255 = 83%
G 217 of 255 = 85%
B 16 of 255 = 6%
R + G + B ~ 58%. #D4D910 is middle color (not dark and not light).
R + G + B =
212 + 217 + 16 = 445 (100%)
R 212 of 445 ~ 47.64%
G 217 of 445 ~ 48.76%
B 16 of 445 ~ 3.6%
#D4D910 color CMYK value is (2,0,93,15).
CMYK: (2,0,93,15) C2M0Y93K15 (2%,0%,93%,15%) (0.02/0.00/0.93/0.15)
D4 | D9 | 10 | |
---|---|---|---|
RGB | 212 | 217 | 16 |
HSL | 61° | 86.27% | 45.69% |
HSB/HSV | 61° | 92.63% | 85.10% |
CMYK | 2.30% | 0.00% | 92.63% |
14.90% |
HEX | D4 | D9 | 10 |
Decimal | 212 | 217 | 16 |
Binary | 11010100 | 11011001 | 10000 |
Octal | 324 | 331 | 20 |
Examples of css and html codes for elements with #D4D910 color. Also use rgb(212,217,16) instead hex code.
.myTextColor { color: #D4D910; }
<p style="color:#D4D910">This sample text font color is #D4D910.</p>
This text font color is #D4D910.
.myBgColor { background-color: #D4D910; }
<div style="background-color:#D4D910">Inner text</div>
This div background color is #D4D910.
.myBorderColor { border: 1px solid #D4D910; }
<div style="border:3px solid #D4D910">Div</div>
This div border color is #D4D910.
.myOpacity80 { color: #D4D910; opacity: 0.8; }
<p style="color:#D4D910;opacity:0.8;">80%</p>
Text with #D4D910 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4D910;}
<p style="text-shadow: 3px 3px 1px #D4D910">Text here.</p>
This text has shadow with #D4D910 color.
.textShadow {text-shadow: 3px 3px 1px #D4D910, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4D910, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4D910 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4D910, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4D910, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4D910 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4D910; -webkit-box-shadow: 1px 1px 3px 2px #D4D910; box-shadow: 1px 1px 3px 2px #D4D910; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4D910; -webkit-box-shadow: 1px 1px 3px 2px #D4D910; box-shadow:1px 1px 3px 2px #D4D910;">
Div content here</div>
This text has color #D4D910 on black background.
This text has color #D4D910 on white background.
This text has black color on #D4D910 background.
This text has white color on #D4D910 background.