HEX: #8C740A
RGB: (140,116,10)
#8C740A contains mainly red and green colors. Web safe color of #8C740A is #996600 (or #960).
#8C740A color RGB value is (140,116,10).
RGB: (140,116,10) (55%,45%,4%)
R 140 of 255 = 55%
G 116 of 255 = 45%
B 10 of 255 = 4%
R + G + B ~ 35%. #8C740A is quite dark color.
R + G + B =
140 + 116 + 10 = 266 (100%)
R 140 of 266 ~ 52.63%
G 116 of 266 ~ 43.61%
B 10 of 266 ~ 3.76%
#8C740A color CMYK value is (0,17,93,45).
CMYK: (0,17,93,45) C0M17Y93K45 (0%,17%,93%,45%) (0.00/0.17/0.93/0.45)
8C | 74 | 0A | |
---|---|---|---|
RGB | 140 | 116 | 10 |
HSL | 49° | 86.67% | 29.41% |
HSB/HSV | 49° | 92.86% | 54.90% |
CMYK | 0.00% | 17.14% | 92.86% |
45.10% |
HEX | 8C | 74 | 0A |
Decimal | 140 | 116 | 10 |
Binary | 10001100 | 1110100 | 1010 |
Octal | 214 | 164 | 12 |
Examples of css and html codes for elements with #8C740A color. Also use rgb(140,116,10) instead hex code.
.myTextColor { color: #8C740A; }
<p style="color:#8C740A">This sample text font color is #8C740A.</p>
This text font color is #8C740A.
.myBgColor { background-color: #8C740A; }
<div style="background-color:#8C740A">Inner text</div>
This div background color is #8C740A.
.myBorderColor { border: 1px solid #8C740A; }
<div style="border:3px solid #8C740A">Div</div>
This div border color is #8C740A.
.myOpacity80 { color: #8C740A; opacity: 0.8; }
<p style="color:#8C740A;opacity:0.8;">80%</p>
Text with #8C740A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C740A;}
<p style="text-shadow: 3px 3px 1px #8C740A">Text here.</p>
This text has shadow with #8C740A color.
.textShadow {text-shadow: 3px 3px 1px #8C740A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C740A, 5px 5px 20px red">Text here.</p>
This text has shadow with #8C740A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C740A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C740A, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C740A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C740A; -webkit-box-shadow: 1px 1px 3px 2px #8C740A; box-shadow: 1px 1px 3px 2px #8C740A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C740A; -webkit-box-shadow: 1px 1px 3px 2px #8C740A; box-shadow:1px 1px 3px 2px #8C740A;">
Div content here</div>
This text has color #8C740A on black background.
This text has color #8C740A on white background.
This text has black color on #8C740A background.
This text has white color on #8C740A background.