HEX: #4FC770
RGB: (79,199,112)
#4FC770 contains mainly green color. Web safe color of #4FC770 is #66CC66 (or #6C6).
#4FC770 color RGB value is (79,199,112).
RGB: (79,199,112) (31%,78%,44%)
R 79 of 255 = 31%
G 199 of 255 = 78%
B 112 of 255 = 44%
R + G + B ~ 51%. #4FC770 is middle color (not dark and not light).
R + G + B =
79 + 199 + 112 = 390 (100%)
R 79 of 390 ~ 20.26%
G 199 of 390 ~ 51.03%
B 112 of 390 ~ 28.72%
#4FC770 color CMYK value is (60,0,44,22).
CMYK: (60,0,44,22) C60M0Y44K22 (60%,0%,44%,22%) (0.60/0.00/0.44/0.22)
4F | C7 | 70 | |
---|---|---|---|
RGB | 79 | 199 | 112 |
HSL | 137° | 51.72% | 54.51% |
HSB/HSV | 137° | 60.30% | 78.04% |
CMYK | 60.30% | 0.00% | 43.72% |
21.96% |
HEX | 4F | C7 | 70 |
Decimal | 79 | 199 | 112 |
Binary | 1001111 | 11000111 | 1110000 |
Octal | 117 | 307 | 160 |
Examples of css and html codes for elements with #4FC770 color. Also use rgb(79,199,112) instead hex code.
.myTextColor { color: #4FC770; }
<p style="color:#4FC770">This sample text font color is #4FC770.</p>
This text font color is #4FC770.
.myBgColor { background-color: #4FC770; }
<div style="background-color:#4FC770">Inner text</div>
This div background color is #4FC770.
.myBorderColor { border: 1px solid #4FC770; }
<div style="border:3px solid #4FC770">Div</div>
This div border color is #4FC770.
.myOpacity80 { color: #4FC770; opacity: 0.8; }
<p style="color:#4FC770;opacity:0.8;">80%</p>
Text with #4FC770 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4FC770;}
<p style="text-shadow: 3px 3px 1px #4FC770">Text here.</p>
This text has shadow with #4FC770 color.
.textShadow {text-shadow: 3px 3px 1px #4FC770, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4FC770, 5px 5px 20px red">Text here.</p>
This text has shadow with #4FC770 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4FC770, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4FC770, Direction=45, Strength=4)">Text</p>
This text has shadow with #4FC770 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4FC770; -webkit-box-shadow: 1px 1px 3px 2px #4FC770; box-shadow: 1px 1px 3px 2px #4FC770; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4FC770; -webkit-box-shadow: 1px 1px 3px 2px #4FC770; box-shadow:1px 1px 3px 2px #4FC770;">
Div content here</div>
This text has color #4FC770 on black background.
This text has color #4FC770 on white background.
This text has black color on #4FC770 background.
This text has white color on #4FC770 background.