HEX: #D4CC19
RGB: (212,204,25)
#D4CC19 contains mainly red and green colors. Web safe color of #D4CC19 is #CCCC00 (or #CC0).
#D4CC19 color RGB value is (212,204,25).
RGB: (212,204,25) (83%,80%,10%)
R 212 of 255 = 83%
G 204 of 255 = 80%
B 25 of 255 = 10%
R + G + B ~ 58%. #D4CC19 is middle color (not dark and not light).
R + G + B =
212 + 204 + 25 = 441 (100%)
R 212 of 441 ~ 48.07%
G 204 of 441 ~ 46.26%
B 25 of 441 ~ 5.67%
#D4CC19 color CMYK value is (0,4,88,17).
CMYK: (0,4,88,17) C0M4Y88K17 (0%,4%,88%,17%) (0.00/0.04/0.88/0.17)
D4 | CC | 19 | |
---|---|---|---|
RGB | 212 | 204 | 25 |
HSL | 57° | 78.90% | 46.47% |
HSB/HSV | 57° | 88.21% | 83.14% |
CMYK | 0.00% | 3.77% | 88.21% |
16.86% |
HEX | D4 | CC | 19 |
Decimal | 212 | 204 | 25 |
Binary | 11010100 | 11001100 | 11001 |
Octal | 324 | 314 | 31 |
Examples of css and html codes for elements with #D4CC19 color. Also use rgb(212,204,25) instead hex code.
.myTextColor { color: #D4CC19; }
<p style="color:#D4CC19">This sample text font color is #D4CC19.</p>
This text font color is #D4CC19.
.myBgColor { background-color: #D4CC19; }
<div style="background-color:#D4CC19">Inner text</div>
This div background color is #D4CC19.
.myBorderColor { border: 1px solid #D4CC19; }
<div style="border:3px solid #D4CC19">Div</div>
This div border color is #D4CC19.
.myOpacity80 { color: #D4CC19; opacity: 0.8; }
<p style="color:#D4CC19;opacity:0.8;">80%</p>
Text with #D4CC19 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4CC19;}
<p style="text-shadow: 3px 3px 1px #D4CC19">Text here.</p>
This text has shadow with #D4CC19 color.
.textShadow {text-shadow: 3px 3px 1px #D4CC19, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4CC19, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4CC19 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4CC19, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4CC19, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4CC19 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4CC19; -webkit-box-shadow: 1px 1px 3px 2px #D4CC19; box-shadow: 1px 1px 3px 2px #D4CC19; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4CC19; -webkit-box-shadow: 1px 1px 3px 2px #D4CC19; box-shadow:1px 1px 3px 2px #D4CC19;">
Div content here</div>
This text has color #D4CC19 on black background.
This text has color #D4CC19 on white background.
This text has black color on #D4CC19 background.
This text has white color on #D4CC19 background.