HEX: #4C754E
RGB: (76,117,78)
#4C754E contains red, green and blue colors in about the same proportion. Web safe color of #4C754E is #336666 (or #366).
#4C754E color RGB value is (76,117,78).
RGB: (76,117,78) (30%,46%,31%)
R 76 of 255 = 30%
G 117 of 255 = 46%
B 78 of 255 = 31%
R + G + B ~ 36%. #4C754E is quite dark color.
R + G + B =
76 + 117 + 78 = 271 (100%)
R 76 of 271 ~ 28.04%
G 117 of 271 ~ 43.17%
B 78 of 271 ~ 28.78%
#4C754E color CMYK value is (35,0,33,54).
CMYK: (35,0,33,54) C35M0Y33K54 (35%,0%,33%,54%) (0.35/0.00/0.33/0.54)
4C | 75 | 4E | |
---|---|---|---|
RGB | 76 | 117 | 78 |
HSL | 123° | 21.24% | 37.84% |
HSB/HSV | 123° | 35.04% | 45.88% |
CMYK | 35.04% | 0.00% | 33.33% |
54.12% |
HEX | 4C | 75 | 4E |
Decimal | 76 | 117 | 78 |
Binary | 1001100 | 1110101 | 1001110 |
Octal | 114 | 165 | 116 |
Examples of css and html codes for elements with #4C754E color. Also use rgb(76,117,78) instead hex code.
.myTextColor { color: #4C754E; }
<p style="color:#4C754E">This sample text font color is #4C754E.</p>
This text font color is #4C754E.
.myBgColor { background-color: #4C754E; }
<div style="background-color:#4C754E">Inner text</div>
This div background color is #4C754E.
.myBorderColor { border: 1px solid #4C754E; }
<div style="border:3px solid #4C754E">Div</div>
This div border color is #4C754E.
.myOpacity80 { color: #4C754E; opacity: 0.8; }
<p style="color:#4C754E;opacity:0.8;">80%</p>
Text with #4C754E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C754E;}
<p style="text-shadow: 3px 3px 1px #4C754E">Text here.</p>
This text has shadow with #4C754E color.
.textShadow {text-shadow: 3px 3px 1px #4C754E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C754E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C754E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C754E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C754E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C754E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C754E; -webkit-box-shadow: 1px 1px 3px 2px #4C754E; box-shadow: 1px 1px 3px 2px #4C754E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C754E; -webkit-box-shadow: 1px 1px 3px 2px #4C754E; box-shadow:1px 1px 3px 2px #4C754E;">
Div content here</div>
This text has color #4C754E on black background.
This text has color #4C754E on white background.
This text has black color on #4C754E background.
This text has white color on #4C754E background.