HEX: #8CA74A
RGB: (140,167,74)
#8CA74A contains mainly red and green colors. Web safe color of #8CA74A is #999933 (or #993).
#8CA74A color RGB value is (140,167,74).
RGB: (140,167,74) (55%,65%,29%)
R 140 of 255 = 55%
G 167 of 255 = 65%
B 74 of 255 = 29%
R + G + B ~ 50%. #8CA74A is middle color (not dark and not light).
R + G + B =
140 + 167 + 74 = 381 (100%)
R 140 of 381 ~ 36.75%
G 167 of 381 ~ 43.83%
B 74 of 381 ~ 19.42%
#8CA74A color CMYK value is (16,0,56,35).
CMYK: (16,0,56,35) C16M0Y56K35 (16%,0%,56%,35%) (0.16/0.00/0.56/0.35)
8C | A7 | 4A | |
---|---|---|---|
RGB | 140 | 167 | 74 |
HSL | 77° | 38.59% | 47.25% |
HSB/HSV | 77° | 55.69% | 65.49% |
CMYK | 16.17% | 0.00% | 55.69% |
34.51% |
HEX | 8C | A7 | 4A |
Decimal | 140 | 167 | 74 |
Binary | 10001100 | 10100111 | 1001010 |
Octal | 214 | 247 | 112 |
Examples of css and html codes for elements with #8CA74A color. Also use rgb(140,167,74) instead hex code.
.myTextColor { color: #8CA74A; }
<p style="color:#8CA74A">This sample text font color is #8CA74A.</p>
This text font color is #8CA74A.
.myBgColor { background-color: #8CA74A; }
<div style="background-color:#8CA74A">Inner text</div>
This div background color is #8CA74A.
.myBorderColor { border: 1px solid #8CA74A; }
<div style="border:3px solid #8CA74A">Div</div>
This div border color is #8CA74A.
.myOpacity80 { color: #8CA74A; opacity: 0.8; }
<p style="color:#8CA74A;opacity:0.8;">80%</p>
Text with #8CA74A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8CA74A;}
<p style="text-shadow: 3px 3px 1px #8CA74A">Text here.</p>
This text has shadow with #8CA74A color.
.textShadow {text-shadow: 3px 3px 1px #8CA74A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8CA74A, 5px 5px 20px red">Text here.</p>
This text has shadow with #8CA74A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8CA74A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8CA74A, Direction=45, Strength=4)">Text</p>
This text has shadow with #8CA74A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8CA74A; -webkit-box-shadow: 1px 1px 3px 2px #8CA74A; box-shadow: 1px 1px 3px 2px #8CA74A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8CA74A; -webkit-box-shadow: 1px 1px 3px 2px #8CA74A; box-shadow:1px 1px 3px 2px #8CA74A;">
Div content here</div>
This text has color #8CA74A on black background.
This text has color #8CA74A on white background.
This text has black color on #8CA74A background.
This text has white color on #8CA74A background.