HEX: #895215
RGB: (137,82,21)
#895215 contains mainly red and green colors. Web safe color of #895215 is #996600 (or #960).
#895215 color RGB value is (137,82,21).
RGB: (137,82,21) (54%,32%,8%)
R 137 of 255 = 54%
G 82 of 255 = 32%
B 21 of 255 = 8%
R + G + B ~ 31%. #895215 is quite dark color.
R + G + B =
137 + 82 + 21 = 240 (100%)
R 137 of 240 ~ 57.08%
G 82 of 240 ~ 34.17%
B 21 of 240 ~ 8.75%
#895215 color CMYK value is (0,40,85,46).
CMYK: (0,40,85,46) C0M40Y85K46 (0%,40%,85%,46%) (0.00/0.40/0.85/0.46)
89 | 52 | 15 | |
---|---|---|---|
RGB | 137 | 82 | 21 |
HSL | 32° | 73.42% | 30.98% |
HSB/HSV | 32° | 84.67% | 53.73% |
CMYK | 0.00% | 40.15% | 84.67% |
46.27% |
HEX | 89 | 52 | 15 |
Decimal | 137 | 82 | 21 |
Binary | 10001001 | 1010010 | 10101 |
Octal | 211 | 122 | 25 |
Examples of css and html codes for elements with #895215 color. Also use rgb(137,82,21) instead hex code.
.myTextColor { color: #895215; }
<p style="color:#895215">This sample text font color is #895215.</p>
This text font color is #895215.
.myBgColor { background-color: #895215; }
<div style="background-color:#895215">Inner text</div>
This div background color is #895215.
.myBorderColor { border: 1px solid #895215; }
<div style="border:3px solid #895215">Div</div>
This div border color is #895215.
.myOpacity80 { color: #895215; opacity: 0.8; }
<p style="color:#895215;opacity:0.8;">80%</p>
Text with #895215 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #895215;}
<p style="text-shadow: 3px 3px 1px #895215">Text here.</p>
This text has shadow with #895215 color.
.textShadow {text-shadow: 3px 3px 1px #895215, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #895215, 5px 5px 20px red">Text here.</p>
This text has shadow with #895215 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#895215, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#895215, Direction=45, Strength=4)">Text</p>
This text has shadow with #895215 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #895215; -webkit-box-shadow: 1px 1px 3px 2px #895215; box-shadow: 1px 1px 3px 2px #895215; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #895215; -webkit-box-shadow: 1px 1px 3px 2px #895215; box-shadow:1px 1px 3px 2px #895215;">
Div content here</div>
This text has color #895215 on black background.
This text has color #895215 on white background.
This text has black color on #895215 background.
This text has white color on #895215 background.