HEX: #4C9C66
RGB: (76,156,102)
#4C9C66 contains mainly green and blue colors. Web safe color of #4C9C66 is #339966 (or #396).
#4C9C66 color RGB value is (76,156,102).
RGB: (76,156,102) (30%,61%,40%)
R 76 of 255 = 30%
G 156 of 255 = 61%
B 102 of 255 = 40%
R + G + B ~ 44%. #4C9C66 is middle color (not dark and not light).
R + G + B =
76 + 156 + 102 = 334 (100%)
R 76 of 334 ~ 22.75%
G 156 of 334 ~ 46.71%
B 102 of 334 ~ 30.54%
#4C9C66 color CMYK value is (51,0,35,39).
CMYK: (51,0,35,39) C51M0Y35K39 (51%,0%,35%,39%) (0.51/0.00/0.35/0.39)
4C | 9C | 66 | |
---|---|---|---|
RGB | 76 | 156 | 102 |
HSL | 140° | 34.48% | 45.49% |
HSB/HSV | 140° | 51.28% | 61.18% |
CMYK | 51.28% | 0.00% | 34.62% |
38.82% |
HEX | 4C | 9C | 66 |
Decimal | 76 | 156 | 102 |
Binary | 1001100 | 10011100 | 1100110 |
Octal | 114 | 234 | 146 |
Examples of css and html codes for elements with #4C9C66 color. Also use rgb(76,156,102) instead hex code.
.myTextColor { color: #4C9C66; }
<p style="color:#4C9C66">This sample text font color is #4C9C66.</p>
This text font color is #4C9C66.
.myBgColor { background-color: #4C9C66; }
<div style="background-color:#4C9C66">Inner text</div>
This div background color is #4C9C66.
.myBorderColor { border: 1px solid #4C9C66; }
<div style="border:3px solid #4C9C66">Div</div>
This div border color is #4C9C66.
.myOpacity80 { color: #4C9C66; opacity: 0.8; }
<p style="color:#4C9C66;opacity:0.8;">80%</p>
Text with #4C9C66 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C9C66;}
<p style="text-shadow: 3px 3px 1px #4C9C66">Text here.</p>
This text has shadow with #4C9C66 color.
.textShadow {text-shadow: 3px 3px 1px #4C9C66, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C9C66, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C9C66 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C9C66, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C9C66, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C9C66 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C9C66; -webkit-box-shadow: 1px 1px 3px 2px #4C9C66; box-shadow: 1px 1px 3px 2px #4C9C66; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C9C66; -webkit-box-shadow: 1px 1px 3px 2px #4C9C66; box-shadow:1px 1px 3px 2px #4C9C66;">
Div content here</div>
This text has color #4C9C66 on black background.
This text has color #4C9C66 on white background.
This text has black color on #4C9C66 background.
This text has white color on #4C9C66 background.