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