HEX: #E8B504
RGB: (232,181,4)
#E8B504 contains mainly red and green colors. Web safe color of #E8B504 is #FFCC00 (or #FC0).
#E8B504 color RGB value is (232,181,4).
RGB: (232,181,4) (91%,71%,2%)
R 232 of 255 = 91%
G 181 of 255 = 71%
B 4 of 255 = 2%
R + G + B ~ 55%. #E8B504 is middle color (not dark and not light).
R + G + B =
232 + 181 + 4 = 417 (100%)
R 232 of 417 ~ 55.64%
G 181 of 417 ~ 43.41%
B 4 of 417 ~ 0.96%
#E8B504 color CMYK value is (0,22,98,9).
CMYK: (0,22,98,9) C0M22Y98K9 (0%,22%,98%,9%) (0.00/0.22/0.98/0.09)
E8 | B5 | 04 | |
---|---|---|---|
RGB | 232 | 181 | 4 |
HSL | 47° | 96.61% | 46.27% |
HSB/HSV | 47° | 98.28% | 90.98% |
CMYK | 0.00% | 21.98% | 98.28% |
9.02% |
HEX | E8 | B5 | 04 |
Decimal | 232 | 181 | 4 |
Binary | 11101000 | 10110101 | 100 |
Octal | 350 | 265 | 4 |
Examples of css and html codes for elements with #E8B504 color. Also use rgb(232,181,4) instead hex code.
.myTextColor { color: #E8B504; }
<p style="color:#E8B504">This sample text font color is #E8B504.</p>
This text font color is #E8B504.
.myBgColor { background-color: #E8B504; }
<div style="background-color:#E8B504">Inner text</div>
This div background color is #E8B504.
.myBorderColor { border: 1px solid #E8B504; }
<div style="border:3px solid #E8B504">Div</div>
This div border color is #E8B504.
.myOpacity80 { color: #E8B504; opacity: 0.8; }
<p style="color:#E8B504;opacity:0.8;">80%</p>
Text with #E8B504 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E8B504;}
<p style="text-shadow: 3px 3px 1px #E8B504">Text here.</p>
This text has shadow with #E8B504 color.
.textShadow {text-shadow: 3px 3px 1px #E8B504, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E8B504, 5px 5px 20px red">Text here.</p>
This text has shadow with #E8B504 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E8B504, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E8B504, Direction=45, Strength=4)">Text</p>
This text has shadow with #E8B504 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E8B504; -webkit-box-shadow: 1px 1px 3px 2px #E8B504; box-shadow: 1px 1px 3px 2px #E8B504; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E8B504; -webkit-box-shadow: 1px 1px 3px 2px #E8B504; box-shadow:1px 1px 3px 2px #E8B504;">
Div content here</div>
This text has color #E8B504 on black background.
This text has color #E8B504 on white background.
This text has black color on #E8B504 background.
This text has white color on #E8B504 background.