HEX: #4B7D4B
RGB: (75,125,75)
#4B7D4B contains red, green and blue colors in about the same proportion. Web safe color of #4B7D4B is #336633 (or #363).
#4B7D4B color RGB value is (75,125,75).
RGB: (75,125,75)
(29%, 49%, 29%)
R 75 of 255 = 29%
G 125 of 255 = 49%
B 75 of 255 = 29%
R + G + B ~ 36%. #4B7D4B is quite dark color.
R + G + B = 75 + 125 + 75 = 275 (100%)
R 75 of 275 ~ 27.27%
G 125 of 275 ~ 45.45%
B 75 of 275 ~ 27.27'%
#4B7D4B color CMYK value is (40,0,40,51).
CMYK: (40,0,40,51)
C40M0Y40K51 (40%, 0%, 40%, 51%)
(0.40 / 0.00 / 0.40 / 0.51)
Color #4B7D4B in popluar color models
4B | 7D | 4B | |
---|---|---|---|
RGB | 75 | 125 | 75 |
HSL | 120° | 25.00% | 39.22% |
HSB/HSV | 120° | 40.00% | 49.02% |
CMYK | 40.00% | 0.00% | 40.00% |
50.98% |
Color #4B7D4B in popluar number systems.
HEX | 4B | 7D | 4B |
Decimal | 75 | 125 | 75 |
Binary | 1001011 | 1111101 | 1001011 |
Octal | 113 | 175 | 113 |
Shades of #4B7D4B
Tints of #4B7D4B
Examples of css and html codes for elements with #4B7D4B color. Also use rgb(75,125,75) instead hex code.
.myTextColor { color: #4B7D4B; }
<p style="color:#4B7D4B">This sample text font color is #4B7D4B.</p>
This text font color is #4B7D4B.
.myBgColor { background-color: #4B7D4B; }
<div style="background-color:#4B7D4B">Inner text</div>
This div background color is #4B7D4B.
.myBorderColor { border: 1px solid #4B7D4B; }
<div style="border:3px solid #4B7D4B">Div</div>
This div border color is #4B7D4B.
.myOpacity80 { color: #4B7D4B; opacity: 0.8; }
<p style="color:#4B7D4B;opacity:0.8;">80%</p>
Text with #4B7D4B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B7D4B;}
<p style="text-shadow: 3px 3px 1px #4B7D4B">Text here.</p>
This text has shadow with #4B7D4B color.
.textShadow {text-shadow: 3px 3px 1px #4B7D4B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B7D4B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B7D4B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B7D4B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B7D4B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B7D4B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #4B7D4B;
-webkit-box-shadow: 1px 1px 3px 2px #4B7D4B;
box-shadow: 1px 1px 3px 2px #4B7D4B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #4B7D4B; -webkit-box-shadow: 1px 1px 3px 2px #4B7D4B; box-shadow:1px 1px 3px 2px #4B7D4B;">
Div content here
</div>
This text has color #4B7D4B on black background.
This text has color #4B7D4B on white background.
This text has black color on #4B7D4B background.
This text has white color on #4B7D4B background.
Complementary color for #hex is #B482B4.