HEX: #4D9B1C
RGB: (77,155,28)
#4D9B1C contains mainly green color. Web safe color of #4D9B1C is #339933 (or #393).
#4D9B1C color RGB value is (77,155,28).
RGB: (77,155,28) (30%,61%,11%)
R 77 of 255 = 30%
G 155 of 255 = 61%
B 28 of 255 = 11%
R + G + B ~ 34%. #4D9B1C is quite dark color.
R + G + B =
77 + 155 + 28 = 260 (100%)
R 77 of 260 ~ 29.62%
G 155 of 260 ~ 59.62%
B 28 of 260 ~ 10.77%
#4D9B1C color CMYK value is (50,0,82,39).
CMYK: (50,0,82,39) C50M0Y82K39 (50%,0%,82%,39%) (0.50/0.00/0.82/0.39)
4D | 9B | 1C | |
---|---|---|---|
RGB | 77 | 155 | 28 |
HSL | 97° | 69.40% | 35.88% |
HSB/HSV | 97° | 81.94% | 60.78% |
CMYK | 50.32% | 0.00% | 81.94% |
39.22% |
HEX | 4D | 9B | 1C |
Decimal | 77 | 155 | 28 |
Binary | 1001101 | 10011011 | 11100 |
Octal | 115 | 233 | 34 |
Examples of css and html codes for elements with #4D9B1C color. Also use rgb(77,155,28) instead hex code.
.myTextColor { color: #4D9B1C; }
<p style="color:#4D9B1C">This sample text font color is #4D9B1C.</p>
This text font color is #4D9B1C.
.myBgColor { background-color: #4D9B1C; }
<div style="background-color:#4D9B1C">Inner text</div>
This div background color is #4D9B1C.
.myBorderColor { border: 1px solid #4D9B1C; }
<div style="border:3px solid #4D9B1C">Div</div>
This div border color is #4D9B1C.
.myOpacity80 { color: #4D9B1C; opacity: 0.8; }
<p style="color:#4D9B1C;opacity:0.8;">80%</p>
Text with #4D9B1C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D9B1C;}
<p style="text-shadow: 3px 3px 1px #4D9B1C">Text here.</p>
This text has shadow with #4D9B1C color.
.textShadow {text-shadow: 3px 3px 1px #4D9B1C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D9B1C, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D9B1C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D9B1C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D9B1C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D9B1C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D9B1C; -webkit-box-shadow: 1px 1px 3px 2px #4D9B1C; box-shadow: 1px 1px 3px 2px #4D9B1C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D9B1C; -webkit-box-shadow: 1px 1px 3px 2px #4D9B1C; box-shadow:1px 1px 3px 2px #4D9B1C;">
Div content here</div>
This text has color #4D9B1C on black background.
This text has color #4D9B1C on white background.
This text has black color on #4D9B1C background.
This text has white color on #4D9B1C background.