HEX: #8E421E
RGB: (142,66,30)
#8E421E contains mainly red color. Web safe color of #8E421E is #993333 (or #933).
#8E421E color RGB value is (142,66,30).
RGB: (142,66,30) (56%,26%,12%)
R 142 of 255 = 56%
G 66 of 255 = 26%
B 30 of 255 = 12%
R + G + B ~ 31%. #8E421E is quite dark color.
R + G + B =
142 + 66 + 30 = 238 (100%)
R 142 of 238 ~ 59.66%
G 66 of 238 ~ 27.73%
B 30 of 238 ~ 12.61%
#8E421E color CMYK value is (0,54,79,44).
CMYK: (0,54,79,44) C0M54Y79K44 (0%,54%,79%,44%) (0.00/0.54/0.79/0.44)
8E | 42 | 1E | |
---|---|---|---|
RGB | 142 | 66 | 30 |
HSL | 19° | 65.12% | 33.73% |
HSB/HSV | 19° | 78.87% | 55.69% |
CMYK | 0.00% | 53.52% | 78.87% |
44.31% |
HEX | 8E | 42 | 1E |
Decimal | 142 | 66 | 30 |
Binary | 10001110 | 1000010 | 11110 |
Octal | 216 | 102 | 36 |
Examples of css and html codes for elements with #8E421E color. Also use rgb(142,66,30) instead hex code.
.myTextColor { color: #8E421E; }
<p style="color:#8E421E">This sample text font color is #8E421E.</p>
This text font color is #8E421E.
.myBgColor { background-color: #8E421E; }
<div style="background-color:#8E421E">Inner text</div>
This div background color is #8E421E.
.myBorderColor { border: 1px solid #8E421E; }
<div style="border:3px solid #8E421E">Div</div>
This div border color is #8E421E.
.myOpacity80 { color: #8E421E; opacity: 0.8; }
<p style="color:#8E421E;opacity:0.8;">80%</p>
Text with #8E421E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E421E;}
<p style="text-shadow: 3px 3px 1px #8E421E">Text here.</p>
This text has shadow with #8E421E color.
.textShadow {text-shadow: 3px 3px 1px #8E421E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E421E, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E421E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E421E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E421E, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E421E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E421E; -webkit-box-shadow: 1px 1px 3px 2px #8E421E; box-shadow: 1px 1px 3px 2px #8E421E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E421E; -webkit-box-shadow: 1px 1px 3px 2px #8E421E; box-shadow:1px 1px 3px 2px #8E421E;">
Div content here</div>
This text has color #8E421E on black background.
This text has color #8E421E on white background.
This text has black color on #8E421E background.
This text has white color on #8E421E background.