HEX: #74B046
RGB: (116,176,70)
#74B046 contains mainly green color. Web safe color of #74B046 is #669933 (or #693).
#74B046 color RGB value is (116,176,70).
RGB: (116,176,70) (45%,69%,27%)
R 116 of 255 = 45%
G 176 of 255 = 69%
B 70 of 255 = 27%
R + G + B ~ 47%. #74B046 is middle color (not dark and not light).
R + G + B =
116 + 176 + 70 = 362 (100%)
R 116 of 362 ~ 32.04%
G 176 of 362 ~ 48.62%
B 70 of 362 ~ 19.34%
#74B046 color CMYK value is (34,0,60,31).
CMYK: (34,0,60,31) C34M0Y60K31 (34%,0%,60%,31%) (0.34/0.00/0.60/0.31)
74 | B0 | 46 | |
---|---|---|---|
RGB | 116 | 176 | 70 |
HSL | 94° | 43.09% | 48.24% |
HSB/HSV | 94° | 60.23% | 69.02% |
CMYK | 34.09% | 0.00% | 60.23% |
30.98% |
HEX | 74 | B0 | 46 |
Decimal | 116 | 176 | 70 |
Binary | 1110100 | 10110000 | 1000110 |
Octal | 164 | 260 | 106 |
Examples of css and html codes for elements with #74B046 color. Also use rgb(116,176,70) instead hex code.
.myTextColor { color: #74B046; }
<p style="color:#74B046">This sample text font color is #74B046.</p>
This text font color is #74B046.
.myBgColor { background-color: #74B046; }
<div style="background-color:#74B046">Inner text</div>
This div background color is #74B046.
.myBorderColor { border: 1px solid #74B046; }
<div style="border:3px solid #74B046">Div</div>
This div border color is #74B046.
.myOpacity80 { color: #74B046; opacity: 0.8; }
<p style="color:#74B046;opacity:0.8;">80%</p>
Text with #74B046 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74B046;}
<p style="text-shadow: 3px 3px 1px #74B046">Text here.</p>
This text has shadow with #74B046 color.
.textShadow {text-shadow: 3px 3px 1px #74B046, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74B046, 5px 5px 20px red">Text here.</p>
This text has shadow with #74B046 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74B046, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74B046, Direction=45, Strength=4)">Text</p>
This text has shadow with #74B046 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74B046; -webkit-box-shadow: 1px 1px 3px 2px #74B046; box-shadow: 1px 1px 3px 2px #74B046; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74B046; -webkit-box-shadow: 1px 1px 3px 2px #74B046; box-shadow:1px 1px 3px 2px #74B046;">
Div content here</div>
This text has color #74B046 on black background.
This text has color #74B046 on white background.
This text has black color on #74B046 background.
This text has white color on #74B046 background.