HEX: #8B421C
RGB: (139,66,28)
#8B421C contains mainly red color. Web safe color of #8B421C is #993333 (or #933).
#8B421C color RGB value is (139,66,28).
RGB: (139,66,28) (55%,26%,11%)
R 139 of 255 = 55%
G 66 of 255 = 26%
B 28 of 255 = 11%
R + G + B ~ 31%. #8B421C is quite dark color.
R + G + B =
139 + 66 + 28 = 233 (100%)
R 139 of 233 ~ 59.66%
G 66 of 233 ~ 28.33%
B 28 of 233 ~ 12.02%
#8B421C color CMYK value is (0,53,80,45).
CMYK: (0,53,80,45) C0M53Y80K45 (0%,53%,80%,45%) (0.00/0.53/0.80/0.45)
8B | 42 | 1C | |
---|---|---|---|
RGB | 139 | 66 | 28 |
HSL | 21° | 66.47% | 32.75% |
HSB/HSV | 21° | 79.86% | 54.51% |
CMYK | 0.00% | 52.52% | 79.86% |
45.49% |
HEX | 8B | 42 | 1C |
Decimal | 139 | 66 | 28 |
Binary | 10001011 | 1000010 | 11100 |
Octal | 213 | 102 | 34 |
Examples of css and html codes for elements with #8B421C color. Also use rgb(139,66,28) instead hex code.
.myTextColor { color: #8B421C; }
<p style="color:#8B421C">This sample text font color is #8B421C.</p>
This text font color is #8B421C.
.myBgColor { background-color: #8B421C; }
<div style="background-color:#8B421C">Inner text</div>
This div background color is #8B421C.
.myBorderColor { border: 1px solid #8B421C; }
<div style="border:3px solid #8B421C">Div</div>
This div border color is #8B421C.
.myOpacity80 { color: #8B421C; opacity: 0.8; }
<p style="color:#8B421C;opacity:0.8;">80%</p>
Text with #8B421C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B421C;}
<p style="text-shadow: 3px 3px 1px #8B421C">Text here.</p>
This text has shadow with #8B421C color.
.textShadow {text-shadow: 3px 3px 1px #8B421C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B421C, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B421C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B421C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B421C, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B421C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B421C; -webkit-box-shadow: 1px 1px 3px 2px #8B421C; box-shadow: 1px 1px 3px 2px #8B421C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B421C; -webkit-box-shadow: 1px 1px 3px 2px #8B421C; box-shadow:1px 1px 3px 2px #8B421C;">
Div content here</div>
This text has color #8B421C on black background.
This text has color #8B421C on white background.
This text has black color on #8B421C background.
This text has white color on #8B421C background.