HEX: #E4B31C
RGB: (228,179,28)
#E4B31C contains mainly red and green colors. Web safe color of #E4B31C is #CC9933 (or #C93).
#E4B31C color RGB value is (228,179,28).
RGB: (228,179,28) (89%,70%,11%)
R 228 of 255 = 89%
G 179 of 255 = 70%
B 28 of 255 = 11%
R + G + B ~ 57%. #E4B31C is middle color (not dark and not light).
R + G + B =
228 + 179 + 28 = 435 (100%)
R 228 of 435 ~ 52.41%
G 179 of 435 ~ 41.15%
B 28 of 435 ~ 6.44%
#E4B31C color CMYK value is (0,21,88,11).
CMYK: (0,21,88,11) C0M21Y88K11 (0%,21%,88%,11%) (0.00/0.21/0.88/0.11)
E4 | B3 | 1C | |
---|---|---|---|
RGB | 228 | 179 | 28 |
HSL | 45° | 78.74% | 50.20% |
HSB/HSV | 45° | 87.72% | 89.41% |
CMYK | 0.00% | 21.49% | 87.72% |
10.59% |
HEX | E4 | B3 | 1C |
Decimal | 228 | 179 | 28 |
Binary | 11100100 | 10110011 | 11100 |
Octal | 344 | 263 | 34 |
Examples of css and html codes for elements with #E4B31C color. Also use rgb(228,179,28) instead hex code.
.myTextColor { color: #E4B31C; }
<p style="color:#E4B31C">This sample text font color is #E4B31C.</p>
This text font color is #E4B31C.
.myBgColor { background-color: #E4B31C; }
<div style="background-color:#E4B31C">Inner text</div>
This div background color is #E4B31C.
.myBorderColor { border: 1px solid #E4B31C; }
<div style="border:3px solid #E4B31C">Div</div>
This div border color is #E4B31C.
.myOpacity80 { color: #E4B31C; opacity: 0.8; }
<p style="color:#E4B31C;opacity:0.8;">80%</p>
Text with #E4B31C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4B31C;}
<p style="text-shadow: 3px 3px 1px #E4B31C">Text here.</p>
This text has shadow with #E4B31C color.
.textShadow {text-shadow: 3px 3px 1px #E4B31C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4B31C, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4B31C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4B31C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4B31C, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4B31C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4B31C; -webkit-box-shadow: 1px 1px 3px 2px #E4B31C; box-shadow: 1px 1px 3px 2px #E4B31C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4B31C; -webkit-box-shadow: 1px 1px 3px 2px #E4B31C; box-shadow:1px 1px 3px 2px #E4B31C;">
Div content here</div>
This text has color #E4B31C on black background.
This text has color #E4B31C on white background.
This text has black color on #E4B31C background.
This text has white color on #E4B31C background.