HEX: #8C721F
RGB: (140,114,31)
#8C721F contains mainly red and green colors. Web safe color of #8C721F is #996633 (or #963).
#8C721F color RGB value is (140,114,31).
RGB: (140,114,31) (55%,45%,12%)
R 140 of 255 = 55%
G 114 of 255 = 45%
B 31 of 255 = 12%
R + G + B ~ 37%. #8C721F is quite dark color.
R + G + B =
140 + 114 + 31 = 285 (100%)
R 140 of 285 ~ 49.12%
G 114 of 285 ~ 40%
B 31 of 285 ~ 10.88%
#8C721F color CMYK value is (0,19,78,45).
CMYK: (0,19,78,45) C0M19Y78K45 (0%,19%,78%,45%) (0.00/0.19/0.78/0.45)
8C | 72 | 1F | |
---|---|---|---|
RGB | 140 | 114 | 31 |
HSL | 46° | 63.74% | 33.53% |
HSB/HSV | 46° | 77.86% | 54.90% |
CMYK | 0.00% | 18.57% | 77.86% |
45.10% |
HEX | 8C | 72 | 1F |
Decimal | 140 | 114 | 31 |
Binary | 10001100 | 1110010 | 11111 |
Octal | 214 | 162 | 37 |
Examples of css and html codes for elements with #8C721F color. Also use rgb(140,114,31) instead hex code.
.myTextColor { color: #8C721F; }
<p style="color:#8C721F">This sample text font color is #8C721F.</p>
This text font color is #8C721F.
.myBgColor { background-color: #8C721F; }
<div style="background-color:#8C721F">Inner text</div>
This div background color is #8C721F.
.myBorderColor { border: 1px solid #8C721F; }
<div style="border:3px solid #8C721F">Div</div>
This div border color is #8C721F.
.myOpacity80 { color: #8C721F; opacity: 0.8; }
<p style="color:#8C721F;opacity:0.8;">80%</p>
Text with #8C721F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C721F;}
<p style="text-shadow: 3px 3px 1px #8C721F">Text here.</p>
This text has shadow with #8C721F color.
.textShadow {text-shadow: 3px 3px 1px #8C721F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C721F, 5px 5px 20px red">Text here.</p>
This text has shadow with #8C721F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C721F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C721F, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C721F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C721F; -webkit-box-shadow: 1px 1px 3px 2px #8C721F; box-shadow: 1px 1px 3px 2px #8C721F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C721F; -webkit-box-shadow: 1px 1px 3px 2px #8C721F; box-shadow:1px 1px 3px 2px #8C721F;">
Div content here</div>
This text has color #8C721F on black background.
This text has color #8C721F on white background.
This text has black color on #8C721F background.
This text has white color on #8C721F background.