HEX: #D4C24D
RGB: (212,194,77)
#D4C24D contains mainly red and green colors. Web safe color of #D4C24D is #CCCC33 (or #CC3).
#D4C24D color RGB value is (212,194,77).
RGB: (212,194,77) (83%,76%,30%)
R 212 of 255 = 83%
G 194 of 255 = 76%
B 77 of 255 = 30%
R + G + B ~ 63%. #D4C24D is quite light color.
R + G + B =
212 + 194 + 77 = 483 (100%)
R 212 of 483 ~ 43.89%
G 194 of 483 ~ 40.17%
B 77 of 483 ~ 15.94%
#D4C24D color CMYK value is (0,8,64,17).
CMYK: (0,8,64,17) C0M8Y64K17 (0%,8%,64%,17%) (0.00/0.08/0.64/0.17)
D4 | C2 | 4D | |
---|---|---|---|
RGB | 212 | 194 | 77 |
HSL | 52° | 61.09% | 56.67% |
HSB/HSV | 52° | 63.68% | 83.14% |
CMYK | 0.00% | 8.49% | 63.68% |
16.86% |
HEX | D4 | C2 | 4D |
Decimal | 212 | 194 | 77 |
Binary | 11010100 | 11000010 | 1001101 |
Octal | 324 | 302 | 115 |
Examples of css and html codes for elements with #D4C24D color. Also use rgb(212,194,77) instead hex code.
.myTextColor { color: #D4C24D; }
<p style="color:#D4C24D">This sample text font color is #D4C24D.</p>
This text font color is #D4C24D.
.myBgColor { background-color: #D4C24D; }
<div style="background-color:#D4C24D">Inner text</div>
This div background color is #D4C24D.
.myBorderColor { border: 1px solid #D4C24D; }
<div style="border:3px solid #D4C24D">Div</div>
This div border color is #D4C24D.
.myOpacity80 { color: #D4C24D; opacity: 0.8; }
<p style="color:#D4C24D;opacity:0.8;">80%</p>
Text with #D4C24D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4C24D;}
<p style="text-shadow: 3px 3px 1px #D4C24D">Text here.</p>
This text has shadow with #D4C24D color.
.textShadow {text-shadow: 3px 3px 1px #D4C24D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4C24D, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4C24D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4C24D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4C24D, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4C24D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4C24D; -webkit-box-shadow: 1px 1px 3px 2px #D4C24D; box-shadow: 1px 1px 3px 2px #D4C24D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4C24D; -webkit-box-shadow: 1px 1px 3px 2px #D4C24D; box-shadow:1px 1px 3px 2px #D4C24D;">
Div content here</div>
This text has color #D4C24D on black background.
This text has color #D4C24D on white background.
This text has black color on #D4C24D background.
This text has white color on #D4C24D background.