HEX: #4CB470
RGB: (76,180,112)
#4CB470 contains mainly green color. Web safe color of #4CB470 is #33CC66 (or #3C6).
#4CB470 color RGB value is (76,180,112).
RGB: (76,180,112) (30%,71%,44%)
R 76 of 255 = 30%
G 180 of 255 = 71%
B 112 of 255 = 44%
R + G + B ~ 48%. #4CB470 is middle color (not dark and not light).
R + G + B =
76 + 180 + 112 = 368 (100%)
R 76 of 368 ~ 20.65%
G 180 of 368 ~ 48.91%
B 112 of 368 ~ 30.43%
#4CB470 color CMYK value is (58,0,38,29).
CMYK: (58,0,38,29) C58M0Y38K29 (58%,0%,38%,29%) (0.58/0.00/0.38/0.29)
4C | B4 | 70 | |
---|---|---|---|
RGB | 76 | 180 | 112 |
HSL | 141° | 40.94% | 50.20% |
HSB/HSV | 141° | 57.78% | 70.59% |
CMYK | 57.78% | 0.00% | 37.78% |
29.41% |
HEX | 4C | B4 | 70 |
Decimal | 76 | 180 | 112 |
Binary | 1001100 | 10110100 | 1110000 |
Octal | 114 | 264 | 160 |
Examples of css and html codes for elements with #4CB470 color. Also use rgb(76,180,112) instead hex code.
.myTextColor { color: #4CB470; }
<p style="color:#4CB470">This sample text font color is #4CB470.</p>
This text font color is #4CB470.
.myBgColor { background-color: #4CB470; }
<div style="background-color:#4CB470">Inner text</div>
This div background color is #4CB470.
.myBorderColor { border: 1px solid #4CB470; }
<div style="border:3px solid #4CB470">Div</div>
This div border color is #4CB470.
.myOpacity80 { color: #4CB470; opacity: 0.8; }
<p style="color:#4CB470;opacity:0.8;">80%</p>
Text with #4CB470 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4CB470;}
<p style="text-shadow: 3px 3px 1px #4CB470">Text here.</p>
This text has shadow with #4CB470 color.
.textShadow {text-shadow: 3px 3px 1px #4CB470, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4CB470, 5px 5px 20px red">Text here.</p>
This text has shadow with #4CB470 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4CB470, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4CB470, Direction=45, Strength=4)">Text</p>
This text has shadow with #4CB470 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4CB470; -webkit-box-shadow: 1px 1px 3px 2px #4CB470; box-shadow: 1px 1px 3px 2px #4CB470; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4CB470; -webkit-box-shadow: 1px 1px 3px 2px #4CB470; box-shadow:1px 1px 3px 2px #4CB470;">
Div content here</div>
This text has color #4CB470 on black background.
This text has color #4CB470 on white background.
This text has black color on #4CB470 background.
This text has white color on #4CB470 background.