HEX: #E4BF12
RGB: (228,191,18)
#E4BF12 contains mainly red and green colors. Web safe color of #E4BF12 is #CCCC00 (or #CC0).
#E4BF12 color RGB value is (228,191,18).
RGB: (228,191,18) (89%,75%,7%)
R 228 of 255 = 89%
G 191 of 255 = 75%
B 18 of 255 = 7%
R + G + B ~ 57%. #E4BF12 is middle color (not dark and not light).
R + G + B =
228 + 191 + 18 = 437 (100%)
R 228 of 437 ~ 52.17%
G 191 of 437 ~ 43.71%
B 18 of 437 ~ 4.12%
#E4BF12 color CMYK value is (0,16,92,11).
CMYK: (0,16,92,11) C0M16Y92K11 (0%,16%,92%,11%) (0.00/0.16/0.92/0.11)
E4 | BF | 12 | |
---|---|---|---|
RGB | 228 | 191 | 18 |
HSL | 49° | 85.37% | 48.24% |
HSB/HSV | 49° | 92.11% | 89.41% |
CMYK | 0.00% | 16.23% | 92.11% |
10.59% |
HEX | E4 | BF | 12 |
Decimal | 228 | 191 | 18 |
Binary | 11100100 | 10111111 | 10010 |
Octal | 344 | 277 | 22 |
Examples of css and html codes for elements with #E4BF12 color. Also use rgb(228,191,18) instead hex code.
.myTextColor { color: #E4BF12; }
<p style="color:#E4BF12">This sample text font color is #E4BF12.</p>
This text font color is #E4BF12.
.myBgColor { background-color: #E4BF12; }
<div style="background-color:#E4BF12">Inner text</div>
This div background color is #E4BF12.
.myBorderColor { border: 1px solid #E4BF12; }
<div style="border:3px solid #E4BF12">Div</div>
This div border color is #E4BF12.
.myOpacity80 { color: #E4BF12; opacity: 0.8; }
<p style="color:#E4BF12;opacity:0.8;">80%</p>
Text with #E4BF12 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4BF12;}
<p style="text-shadow: 3px 3px 1px #E4BF12">Text here.</p>
This text has shadow with #E4BF12 color.
.textShadow {text-shadow: 3px 3px 1px #E4BF12, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4BF12, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4BF12 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4BF12, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4BF12, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4BF12 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4BF12; -webkit-box-shadow: 1px 1px 3px 2px #E4BF12; box-shadow: 1px 1px 3px 2px #E4BF12; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4BF12; -webkit-box-shadow: 1px 1px 3px 2px #E4BF12; box-shadow:1px 1px 3px 2px #E4BF12;">
Div content here</div>
This text has color #E4BF12 on black background.
This text has color #E4BF12 on white background.
This text has black color on #E4BF12 background.
This text has white color on #E4BF12 background.