HEX: #D7CE20
RGB: (215,206,32)
#D7CE20 contains mainly red and green colors. Web safe color of #D7CE20 is #CCCC33 (or #CC3).
#D7CE20 color RGB value is (215,206,32).
RGB: (215,206,32) (84%,81%,13%)
R 215 of 255 = 84%
G 206 of 255 = 81%
B 32 of 255 = 13%
R + G + B ~ 59%. #D7CE20 is middle color (not dark and not light).
R + G + B =
215 + 206 + 32 = 453 (100%)
R 215 of 453 ~ 47.46%
G 206 of 453 ~ 45.47%
B 32 of 453 ~ 7.06%
#D7CE20 color CMYK value is (0,4,85,16).
CMYK: (0,4,85,16) C0M4Y85K16 (0%,4%,85%,16%) (0.00/0.04/0.85/0.16)
D7 | CE | 20 | |
---|---|---|---|
RGB | 215 | 206 | 32 |
HSL | 57° | 74.09% | 48.43% |
HSB/HSV | 57° | 85.12% | 84.31% |
CMYK | 0.00% | 4.19% | 85.12% |
15.69% |
HEX | D7 | CE | 20 |
Decimal | 215 | 206 | 32 |
Binary | 11010111 | 11001110 | 100000 |
Octal | 327 | 316 | 40 |
Examples of css and html codes for elements with #D7CE20 color. Also use rgb(215,206,32) instead hex code.
.myTextColor { color: #D7CE20; }
<p style="color:#D7CE20">This sample text font color is #D7CE20.</p>
This text font color is #D7CE20.
.myBgColor { background-color: #D7CE20; }
<div style="background-color:#D7CE20">Inner text</div>
This div background color is #D7CE20.
.myBorderColor { border: 1px solid #D7CE20; }
<div style="border:3px solid #D7CE20">Div</div>
This div border color is #D7CE20.
.myOpacity80 { color: #D7CE20; opacity: 0.8; }
<p style="color:#D7CE20;opacity:0.8;">80%</p>
Text with #D7CE20 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7CE20;}
<p style="text-shadow: 3px 3px 1px #D7CE20">Text here.</p>
This text has shadow with #D7CE20 color.
.textShadow {text-shadow: 3px 3px 1px #D7CE20, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7CE20, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7CE20 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7CE20, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7CE20, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7CE20 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7CE20; -webkit-box-shadow: 1px 1px 3px 2px #D7CE20; box-shadow: 1px 1px 3px 2px #D7CE20; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7CE20; -webkit-box-shadow: 1px 1px 3px 2px #D7CE20; box-shadow:1px 1px 3px 2px #D7CE20;">
Div content here</div>
This text has color #D7CE20 on black background.
This text has color #D7CE20 on white background.
This text has black color on #D7CE20 background.
This text has white color on #D7CE20 background.