HEX: #4C9612
RGB: (76,150,18)
#4C9612 contains mainly green color. Web safe color of #4C9612 is #339900 (or #390).
#4C9612 color RGB value is (76,150,18).
RGB: (76,150,18) (30%,59%,7%)
R 76 of 255 = 30%
G 150 of 255 = 59%
B 18 of 255 = 7%
R + G + B ~ 32%. #4C9612 is quite dark color.
R + G + B =
76 + 150 + 18 = 244 (100%)
R 76 of 244 ~ 31.15%
G 150 of 244 ~ 61.48%
B 18 of 244 ~ 7.38%
#4C9612 color CMYK value is (49,0,88,41).
CMYK: (49,0,88,41) C49M0Y88K41 (49%,0%,88%,41%) (0.49/0.00/0.88/0.41)
4C | 96 | 12 | |
---|---|---|---|
RGB | 76 | 150 | 18 |
HSL | 94° | 78.57% | 32.94% |
HSB/HSV | 94° | 88.00% | 58.82% |
CMYK | 49.33% | 0.00% | 88.00% |
41.18% |
HEX | 4C | 96 | 12 |
Decimal | 76 | 150 | 18 |
Binary | 1001100 | 10010110 | 10010 |
Octal | 114 | 226 | 22 |
Examples of css and html codes for elements with #4C9612 color. Also use rgb(76,150,18) instead hex code.
.myTextColor { color: #4C9612; }
<p style="color:#4C9612">This sample text font color is #4C9612.</p>
This text font color is #4C9612.
.myBgColor { background-color: #4C9612; }
<div style="background-color:#4C9612">Inner text</div>
This div background color is #4C9612.
.myBorderColor { border: 1px solid #4C9612; }
<div style="border:3px solid #4C9612">Div</div>
This div border color is #4C9612.
.myOpacity80 { color: #4C9612; opacity: 0.8; }
<p style="color:#4C9612;opacity:0.8;">80%</p>
Text with #4C9612 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C9612;}
<p style="text-shadow: 3px 3px 1px #4C9612">Text here.</p>
This text has shadow with #4C9612 color.
.textShadow {text-shadow: 3px 3px 1px #4C9612, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C9612, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C9612 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C9612, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C9612, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C9612 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C9612; -webkit-box-shadow: 1px 1px 3px 2px #4C9612; box-shadow: 1px 1px 3px 2px #4C9612; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C9612; -webkit-box-shadow: 1px 1px 3px 2px #4C9612; box-shadow:1px 1px 3px 2px #4C9612;">
Div content here</div>
This text has color #4C9612 on black background.
This text has color #4C9612 on white background.
This text has black color on #4C9612 background.
This text has white color on #4C9612 background.