HEX: #74C542
RGB: (116,197,66)
#74C542 contains mainly green color. Web safe color of #74C542 is #66CC33 (or #6C3).
#74C542 color RGB value is (116,197,66).
RGB: (116,197,66) (45%,77%,26%)
R 116 of 255 = 45%
G 197 of 255 = 77%
B 66 of 255 = 26%
R + G + B ~ 49%. #74C542 is middle color (not dark and not light).
R + G + B =
116 + 197 + 66 = 379 (100%)
R 116 of 379 ~ 30.61%
G 197 of 379 ~ 51.98%
B 66 of 379 ~ 17.41%
#74C542 color CMYK value is (41,0,66,23).
CMYK: (41,0,66,23) C41M0Y66K23 (41%,0%,66%,23%) (0.41/0.00/0.66/0.23)
74 | C5 | 42 | |
---|---|---|---|
RGB | 116 | 197 | 66 |
HSL | 97° | 53.04% | 51.57% |
HSB/HSV | 97° | 66.50% | 77.25% |
CMYK | 41.12% | 0.00% | 66.50% |
22.75% |
HEX | 74 | C5 | 42 |
Decimal | 116 | 197 | 66 |
Binary | 1110100 | 11000101 | 1000010 |
Octal | 164 | 305 | 102 |
Examples of css and html codes for elements with #74C542 color. Also use rgb(116,197,66) instead hex code.
.myTextColor { color: #74C542; }
<p style="color:#74C542">This sample text font color is #74C542.</p>
This text font color is #74C542.
.myBgColor { background-color: #74C542; }
<div style="background-color:#74C542">Inner text</div>
This div background color is #74C542.
.myBorderColor { border: 1px solid #74C542; }
<div style="border:3px solid #74C542">Div</div>
This div border color is #74C542.
.myOpacity80 { color: #74C542; opacity: 0.8; }
<p style="color:#74C542;opacity:0.8;">80%</p>
Text with #74C542 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74C542;}
<p style="text-shadow: 3px 3px 1px #74C542">Text here.</p>
This text has shadow with #74C542 color.
.textShadow {text-shadow: 3px 3px 1px #74C542, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74C542, 5px 5px 20px red">Text here.</p>
This text has shadow with #74C542 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74C542, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74C542, Direction=45, Strength=4)">Text</p>
This text has shadow with #74C542 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74C542; -webkit-box-shadow: 1px 1px 3px 2px #74C542; box-shadow: 1px 1px 3px 2px #74C542; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74C542; -webkit-box-shadow: 1px 1px 3px 2px #74C542; box-shadow:1px 1px 3px 2px #74C542;">
Div content here</div>
This text has color #74C542 on black background.
This text has color #74C542 on white background.
This text has black color on #74C542 background.
This text has white color on #74C542 background.