HEX: #74A047
RGB: (116,160,71)
#74A047 contains mainly red and green colors. Web safe color of #74A047 is #669933 (or #693).
#74A047 color RGB value is (116,160,71).
RGB: (116,160,71) (45%,63%,28%)
R 116 of 255 = 45%
G 160 of 255 = 63%
B 71 of 255 = 28%
R + G + B ~ 45%. #74A047 is middle color (not dark and not light).
R + G + B =
116 + 160 + 71 = 347 (100%)
R 116 of 347 ~ 33.43%
G 160 of 347 ~ 46.11%
B 71 of 347 ~ 20.46%
#74A047 color CMYK value is (28,0,56,37).
CMYK: (28,0,56,37) C28M0Y56K37 (28%,0%,56%,37%) (0.28/0.00/0.56/0.37)
74 | A0 | 47 | |
---|---|---|---|
RGB | 116 | 160 | 71 |
HSL | 90° | 38.53% | 45.29% |
HSB/HSV | 90° | 55.63% | 62.75% |
CMYK | 27.50% | 0.00% | 55.63% |
37.25% |
HEX | 74 | A0 | 47 |
Decimal | 116 | 160 | 71 |
Binary | 1110100 | 10100000 | 1000111 |
Octal | 164 | 240 | 107 |
Examples of css and html codes for elements with #74A047 color. Also use rgb(116,160,71) instead hex code.
.myTextColor { color: #74A047; }
<p style="color:#74A047">This sample text font color is #74A047.</p>
This text font color is #74A047.
.myBgColor { background-color: #74A047; }
<div style="background-color:#74A047">Inner text</div>
This div background color is #74A047.
.myBorderColor { border: 1px solid #74A047; }
<div style="border:3px solid #74A047">Div</div>
This div border color is #74A047.
.myOpacity80 { color: #74A047; opacity: 0.8; }
<p style="color:#74A047;opacity:0.8;">80%</p>
Text with #74A047 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74A047;}
<p style="text-shadow: 3px 3px 1px #74A047">Text here.</p>
This text has shadow with #74A047 color.
.textShadow {text-shadow: 3px 3px 1px #74A047, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74A047, 5px 5px 20px red">Text here.</p>
This text has shadow with #74A047 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74A047, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74A047, Direction=45, Strength=4)">Text</p>
This text has shadow with #74A047 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74A047; -webkit-box-shadow: 1px 1px 3px 2px #74A047; box-shadow: 1px 1px 3px 2px #74A047; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74A047; -webkit-box-shadow: 1px 1px 3px 2px #74A047; box-shadow:1px 1px 3px 2px #74A047;">
Div content here</div>
This text has color #74A047 on black background.
This text has color #74A047 on white background.
This text has black color on #74A047 background.
This text has white color on #74A047 background.