HEX: #4C9B5D
RGB: (76,155,93)
#4C9B5D contains mainly green color. Web safe color of #4C9B5D is #339966 (or #396).
#4C9B5D color RGB value is (76,155,93).
RGB: (76,155,93) (30%,61%,36%)
R 76 of 255 = 30%
G 155 of 255 = 61%
B 93 of 255 = 36%
R + G + B ~ 42%. #4C9B5D is middle color (not dark and not light).
R + G + B =
76 + 155 + 93 = 324 (100%)
R 76 of 324 ~ 23.46%
G 155 of 324 ~ 47.84%
B 93 of 324 ~ 28.7%
#4C9B5D color CMYK value is (51,0,40,39).
CMYK: (51,0,40,39) C51M0Y40K39 (51%,0%,40%,39%) (0.51/0.00/0.40/0.39)
4C | 9B | 5D | |
---|---|---|---|
RGB | 76 | 155 | 93 |
HSL | 133° | 34.20% | 45.29% |
HSB/HSV | 133° | 50.97% | 60.78% |
CMYK | 50.97% | 0.00% | 40.00% |
39.22% |
HEX | 4C | 9B | 5D |
Decimal | 76 | 155 | 93 |
Binary | 1001100 | 10011011 | 1011101 |
Octal | 114 | 233 | 135 |
Examples of css and html codes for elements with #4C9B5D color. Also use rgb(76,155,93) instead hex code.
.myTextColor { color: #4C9B5D; }
<p style="color:#4C9B5D">This sample text font color is #4C9B5D.</p>
This text font color is #4C9B5D.
.myBgColor { background-color: #4C9B5D; }
<div style="background-color:#4C9B5D">Inner text</div>
This div background color is #4C9B5D.
.myBorderColor { border: 1px solid #4C9B5D; }
<div style="border:3px solid #4C9B5D">Div</div>
This div border color is #4C9B5D.
.myOpacity80 { color: #4C9B5D; opacity: 0.8; }
<p style="color:#4C9B5D;opacity:0.8;">80%</p>
Text with #4C9B5D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C9B5D;}
<p style="text-shadow: 3px 3px 1px #4C9B5D">Text here.</p>
This text has shadow with #4C9B5D color.
.textShadow {text-shadow: 3px 3px 1px #4C9B5D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C9B5D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C9B5D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C9B5D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C9B5D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C9B5D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C9B5D; -webkit-box-shadow: 1px 1px 3px 2px #4C9B5D; box-shadow: 1px 1px 3px 2px #4C9B5D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C9B5D; -webkit-box-shadow: 1px 1px 3px 2px #4C9B5D; box-shadow:1px 1px 3px 2px #4C9B5D;">
Div content here</div>
This text has color #4C9B5D on black background.
This text has color #4C9B5D on white background.
This text has black color on #4C9B5D background.
This text has white color on #4C9B5D background.