HEX: #4C785B
RGB: (76,120,91)
#4C785B contains red, green and blue colors in about the same proportion. Web safe color of #4C785B is #336666 (or #366).
#4C785B color RGB value is (76,120,91).
RGB: (76,120,91) (30%,47%,36%)
R 76 of 255 = 30%
G 120 of 255 = 47%
B 91 of 255 = 36%
R + G + B ~ 38%. #4C785B is quite dark color.
R + G + B =
76 + 120 + 91 = 287 (100%)
R 76 of 287 ~ 26.48%
G 120 of 287 ~ 41.81%
B 91 of 287 ~ 31.71%
#4C785B color CMYK value is (37,0,24,53).
CMYK: (37,0,24,53) C37M0Y24K53 (37%,0%,24%,53%) (0.37/0.00/0.24/0.53)
4C | 78 | 5B | |
---|---|---|---|
RGB | 76 | 120 | 91 |
HSL | 140° | 22.45% | 38.43% |
HSB/HSV | 140° | 36.67% | 47.06% |
CMYK | 36.67% | 0.00% | 24.17% |
52.94% |
HEX | 4C | 78 | 5B |
Decimal | 76 | 120 | 91 |
Binary | 1001100 | 1111000 | 1011011 |
Octal | 114 | 170 | 133 |
Examples of css and html codes for elements with #4C785B color. Also use rgb(76,120,91) instead hex code.
.myTextColor { color: #4C785B; }
<p style="color:#4C785B">This sample text font color is #4C785B.</p>
This text font color is #4C785B.
.myBgColor { background-color: #4C785B; }
<div style="background-color:#4C785B">Inner text</div>
This div background color is #4C785B.
.myBorderColor { border: 1px solid #4C785B; }
<div style="border:3px solid #4C785B">Div</div>
This div border color is #4C785B.
.myOpacity80 { color: #4C785B; opacity: 0.8; }
<p style="color:#4C785B;opacity:0.8;">80%</p>
Text with #4C785B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C785B;}
<p style="text-shadow: 3px 3px 1px #4C785B">Text here.</p>
This text has shadow with #4C785B color.
.textShadow {text-shadow: 3px 3px 1px #4C785B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C785B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C785B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C785B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C785B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C785B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C785B; -webkit-box-shadow: 1px 1px 3px 2px #4C785B; box-shadow: 1px 1px 3px 2px #4C785B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C785B; -webkit-box-shadow: 1px 1px 3px 2px #4C785B; box-shadow:1px 1px 3px 2px #4C785B;">
Div content here</div>
This text has color #4C785B on black background.
This text has color #4C785B on white background.
This text has black color on #4C785B background.
This text has white color on #4C785B background.