HEX: #D4B01E
RGB: (212,176,30)
#D4B01E contains mainly red and green colors. Web safe color of #D4B01E is #CC9933 (or #C93).
#D4B01E color RGB value is (212,176,30).
RGB: (212,176,30) (83%,69%,12%)
R 212 of 255 = 83%
G 176 of 255 = 69%
B 30 of 255 = 12%
R + G + B ~ 55%. #D4B01E is middle color (not dark and not light).
R + G + B =
212 + 176 + 30 = 418 (100%)
R 212 of 418 ~ 50.72%
G 176 of 418 ~ 42.11%
B 30 of 418 ~ 7.18%
#D4B01E color CMYK value is (0,17,86,17).
CMYK: (0,17,86,17) C0M17Y86K17 (0%,17%,86%,17%) (0.00/0.17/0.86/0.17)
D4 | B0 | 1E | |
---|---|---|---|
RGB | 212 | 176 | 30 |
HSL | 48° | 75.21% | 47.45% |
HSB/HSV | 48° | 85.85% | 83.14% |
CMYK | 0.00% | 16.98% | 85.85% |
16.86% |
HEX | D4 | B0 | 1E |
Decimal | 212 | 176 | 30 |
Binary | 11010100 | 10110000 | 11110 |
Octal | 324 | 260 | 36 |
Examples of css and html codes for elements with #D4B01E color. Also use rgb(212,176,30) instead hex code.
.myTextColor { color: #D4B01E; }
<p style="color:#D4B01E">This sample text font color is #D4B01E.</p>
This text font color is #D4B01E.
.myBgColor { background-color: #D4B01E; }
<div style="background-color:#D4B01E">Inner text</div>
This div background color is #D4B01E.
.myBorderColor { border: 1px solid #D4B01E; }
<div style="border:3px solid #D4B01E">Div</div>
This div border color is #D4B01E.
.myOpacity80 { color: #D4B01E; opacity: 0.8; }
<p style="color:#D4B01E;opacity:0.8;">80%</p>
Text with #D4B01E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4B01E;}
<p style="text-shadow: 3px 3px 1px #D4B01E">Text here.</p>
This text has shadow with #D4B01E color.
.textShadow {text-shadow: 3px 3px 1px #D4B01E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4B01E, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4B01E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4B01E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4B01E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4B01E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4B01E; -webkit-box-shadow: 1px 1px 3px 2px #D4B01E; box-shadow: 1px 1px 3px 2px #D4B01E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4B01E; -webkit-box-shadow: 1px 1px 3px 2px #D4B01E; box-shadow:1px 1px 3px 2px #D4B01E;">
Div content here</div>
This text has color #D4B01E on black background.
This text has color #D4B01E on white background.
This text has black color on #D4B01E background.
This text has white color on #D4B01E background.