HEX: #D2C725
RGB: (210,199,37)
#D2C725 contains mainly red and green colors. Web safe color of #D2C725 is #CCCC33 (or #CC3).
#D2C725 color RGB value is (210,199,37).
RGB: (210,199,37) (82%,78%,15%)
R 210 of 255 = 82%
G 199 of 255 = 78%
B 37 of 255 = 15%
R + G + B ~ 58%. #D2C725 is middle color (not dark and not light).
R + G + B =
210 + 199 + 37 = 446 (100%)
R 210 of 446 ~ 47.09%
G 199 of 446 ~ 44.62%
B 37 of 446 ~ 8.3%
#D2C725 color CMYK value is (0,5,82,18).
CMYK: (0,5,82,18) C0M5Y82K18 (0%,5%,82%,18%) (0.00/0.05/0.82/0.18)
D2 | C7 | 25 | |
---|---|---|---|
RGB | 210 | 199 | 37 |
HSL | 56° | 70.04% | 48.43% |
HSB/HSV | 56° | 82.38% | 82.35% |
CMYK | 0.00% | 5.24% | 82.38% |
17.65% |
HEX | D2 | C7 | 25 |
Decimal | 210 | 199 | 37 |
Binary | 11010010 | 11000111 | 100101 |
Octal | 322 | 307 | 45 |
Examples of css and html codes for elements with #D2C725 color. Also use rgb(210,199,37) instead hex code.
.myTextColor { color: #D2C725; }
<p style="color:#D2C725">This sample text font color is #D2C725.</p>
This text font color is #D2C725.
.myBgColor { background-color: #D2C725; }
<div style="background-color:#D2C725">Inner text</div>
This div background color is #D2C725.
.myBorderColor { border: 1px solid #D2C725; }
<div style="border:3px solid #D2C725">Div</div>
This div border color is #D2C725.
.myOpacity80 { color: #D2C725; opacity: 0.8; }
<p style="color:#D2C725;opacity:0.8;">80%</p>
Text with #D2C725 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D2C725;}
<p style="text-shadow: 3px 3px 1px #D2C725">Text here.</p>
This text has shadow with #D2C725 color.
.textShadow {text-shadow: 3px 3px 1px #D2C725, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D2C725, 5px 5px 20px red">Text here.</p>
This text has shadow with #D2C725 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D2C725, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D2C725, Direction=45, Strength=4)">Text</p>
This text has shadow with #D2C725 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D2C725; -webkit-box-shadow: 1px 1px 3px 2px #D2C725; box-shadow: 1px 1px 3px 2px #D2C725; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D2C725; -webkit-box-shadow: 1px 1px 3px 2px #D2C725; box-shadow:1px 1px 3px 2px #D2C725;">
Div content here</div>
This text has color #D2C725 on black background.
This text has color #D2C725 on white background.
This text has black color on #D2C725 background.
This text has white color on #D2C725 background.