HEX: #E7C004
RGB: (231,192,4)
#E7C004 contains mainly red and green colors. Web safe color of #E7C004 is #FFCC00 (or #FC0).
#E7C004 color RGB value is (231,192,4).
RGB: (231,192,4) (91%,75%,2%)
R 231 of 255 = 91%
G 192 of 255 = 75%
B 4 of 255 = 2%
R + G + B ~ 56%. #E7C004 is middle color (not dark and not light).
R + G + B =
231 + 192 + 4 = 427 (100%)
R 231 of 427 ~ 54.1%
G 192 of 427 ~ 44.96%
B 4 of 427 ~ 0.94%
#E7C004 color CMYK value is (0,17,98,9).
CMYK: (0,17,98,9) C0M17Y98K9 (0%,17%,98%,9%) (0.00/0.17/0.98/0.09)
E7 | C0 | 04 | |
---|---|---|---|
RGB | 231 | 192 | 4 |
HSL | 50° | 96.60% | 46.08% |
HSB/HSV | 50° | 98.27% | 90.59% |
CMYK | 0.00% | 16.88% | 98.27% |
9.41% |
HEX | E7 | C0 | 04 |
Decimal | 231 | 192 | 4 |
Binary | 11100111 | 11000000 | 100 |
Octal | 347 | 300 | 4 |
Examples of css and html codes for elements with #E7C004 color. Also use rgb(231,192,4) instead hex code.
.myTextColor { color: #E7C004; }
<p style="color:#E7C004">This sample text font color is #E7C004.</p>
This text font color is #E7C004.
.myBgColor { background-color: #E7C004; }
<div style="background-color:#E7C004">Inner text</div>
This div background color is #E7C004.
.myBorderColor { border: 1px solid #E7C004; }
<div style="border:3px solid #E7C004">Div</div>
This div border color is #E7C004.
.myOpacity80 { color: #E7C004; opacity: 0.8; }
<p style="color:#E7C004;opacity:0.8;">80%</p>
Text with #E7C004 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E7C004;}
<p style="text-shadow: 3px 3px 1px #E7C004">Text here.</p>
This text has shadow with #E7C004 color.
.textShadow {text-shadow: 3px 3px 1px #E7C004, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E7C004, 5px 5px 20px red">Text here.</p>
This text has shadow with #E7C004 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E7C004, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E7C004, Direction=45, Strength=4)">Text</p>
This text has shadow with #E7C004 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E7C004; -webkit-box-shadow: 1px 1px 3px 2px #E7C004; box-shadow: 1px 1px 3px 2px #E7C004; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E7C004; -webkit-box-shadow: 1px 1px 3px 2px #E7C004; box-shadow:1px 1px 3px 2px #E7C004;">
Div content here</div>
This text has color #E7C004 on black background.
This text has color #E7C004 on white background.
This text has black color on #E7C004 background.
This text has white color on #E7C004 background.