HEX: #E7B802
RGB: (231,184,2)
#E7B802 contains mainly red and green colors. Web safe color of #E7B802 is #FFCC00 (or #FC0).
#E7B802 color RGB value is (231,184,2).
RGB: (231,184,2) (91%,72%,1%)
R 231 of 255 = 91%
G 184 of 255 = 72%
B 2 of 255 = 1%
R + G + B ~ 55%. #E7B802 is middle color (not dark and not light).
R + G + B =
231 + 184 + 2 = 417 (100%)
R 231 of 417 ~ 55.4%
G 184 of 417 ~ 44.12%
B 2 of 417 ~ 0.48%
#E7B802 color CMYK value is (0,20,99,9).
CMYK: (0,20,99,9) C0M20Y99K9 (0%,20%,99%,9%) (0.00/0.20/0.99/0.09)
E7 | B8 | 02 | |
---|---|---|---|
RGB | 231 | 184 | 2 |
HSL | 48° | 98.28% | 45.69% |
HSB/HSV | 48° | 99.13% | 90.59% |
CMYK | 0.00% | 20.35% | 99.13% |
9.41% |
HEX | E7 | B8 | 02 |
Decimal | 231 | 184 | 2 |
Binary | 11100111 | 10111000 | 10 |
Octal | 347 | 270 | 2 |
Examples of css and html codes for elements with #E7B802 color. Also use rgb(231,184,2) instead hex code.
.myTextColor { color: #E7B802; }
<p style="color:#E7B802">This sample text font color is #E7B802.</p>
This text font color is #E7B802.
.myBgColor { background-color: #E7B802; }
<div style="background-color:#E7B802">Inner text</div>
This div background color is #E7B802.
.myBorderColor { border: 1px solid #E7B802; }
<div style="border:3px solid #E7B802">Div</div>
This div border color is #E7B802.
.myOpacity80 { color: #E7B802; opacity: 0.8; }
<p style="color:#E7B802;opacity:0.8;">80%</p>
Text with #E7B802 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E7B802;}
<p style="text-shadow: 3px 3px 1px #E7B802">Text here.</p>
This text has shadow with #E7B802 color.
.textShadow {text-shadow: 3px 3px 1px #E7B802, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E7B802, 5px 5px 20px red">Text here.</p>
This text has shadow with #E7B802 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E7B802, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E7B802, Direction=45, Strength=4)">Text</p>
This text has shadow with #E7B802 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E7B802; -webkit-box-shadow: 1px 1px 3px 2px #E7B802; box-shadow: 1px 1px 3px 2px #E7B802; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E7B802; -webkit-box-shadow: 1px 1px 3px 2px #E7B802; box-shadow:1px 1px 3px 2px #E7B802;">
Div content here</div>
This text has color #E7B802 on black background.
This text has color #E7B802 on white background.
This text has black color on #E7B802 background.
This text has white color on #E7B802 background.