HEX: #4B9C4D
RGB: (75,156,77)
#4B9C4D contains mainly green color. Web safe color of #4B9C4D is #339933 (or #393).
#4B9C4D color RGB value is (75,156,77).
RGB: (75,156,77) (29%,61%,30%)
R 75 of 255 = 29%
G 156 of 255 = 61%
B 77 of 255 = 30%
R + G + B ~ 40%. #4B9C4D is middle color (not dark and not light).
R + G + B =
75 + 156 + 77 = 308 (100%)
R 75 of 308 ~ 24.35%
G 156 of 308 ~ 50.65%
B 77 of 308 ~ 25%
#4B9C4D color CMYK value is (52,0,51,39).
CMYK: (52,0,51,39) C52M0Y51K39 (52%,0%,51%,39%) (0.52/0.00/0.51/0.39)
4B | 9C | 4D | |
---|---|---|---|
RGB | 75 | 156 | 77 |
HSL | 121° | 35.06% | 45.29% |
HSB/HSV | 121° | 51.92% | 61.18% |
CMYK | 51.92% | 0.00% | 50.64% |
38.82% |
HEX | 4B | 9C | 4D |
Decimal | 75 | 156 | 77 |
Binary | 1001011 | 10011100 | 1001101 |
Octal | 113 | 234 | 115 |
Examples of css and html codes for elements with #4B9C4D color. Also use rgb(75,156,77) instead hex code.
.myTextColor { color: #4B9C4D; }
<p style="color:#4B9C4D">This sample text font color is #4B9C4D.</p>
This text font color is #4B9C4D.
.myBgColor { background-color: #4B9C4D; }
<div style="background-color:#4B9C4D">Inner text</div>
This div background color is #4B9C4D.
.myBorderColor { border: 1px solid #4B9C4D; }
<div style="border:3px solid #4B9C4D">Div</div>
This div border color is #4B9C4D.
.myOpacity80 { color: #4B9C4D; opacity: 0.8; }
<p style="color:#4B9C4D;opacity:0.8;">80%</p>
Text with #4B9C4D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B9C4D;}
<p style="text-shadow: 3px 3px 1px #4B9C4D">Text here.</p>
This text has shadow with #4B9C4D color.
.textShadow {text-shadow: 3px 3px 1px #4B9C4D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B9C4D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B9C4D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B9C4D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B9C4D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B9C4D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B9C4D; -webkit-box-shadow: 1px 1px 3px 2px #4B9C4D; box-shadow: 1px 1px 3px 2px #4B9C4D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B9C4D; -webkit-box-shadow: 1px 1px 3px 2px #4B9C4D; box-shadow:1px 1px 3px 2px #4B9C4D;">
Div content here</div>
This text has color #4B9C4D on black background.
This text has color #4B9C4D on white background.
This text has black color on #4B9C4D background.
This text has white color on #4B9C4D background.