HEX: #478A4F
RGB: (71,138,79)
#478A4F contains mainly green and blue colors. Web safe color of #478A4F is #339966 (or #396).
#478A4F color RGB value is (71,138,79).
RGB: (71,138,79)
(28%, 54%, 31%)
R 71 of 255 = 28%
G 138 of 255 = 54%
B 79 of 255 = 31%
R + G + B ~ 38%. #478A4F is quite dark color.
R + G + B = 71 + 138 + 79 = 288 (100%)
R 71 of 288 ~ 24.65%
G 138 of 288 ~ 47.92%
B 79 of 288 ~ 27.43'%
#478A4F color CMYK value is (49,0,43,46).
CMYK: (49,0,43,46)
C49M0Y43K46 (49%, 0%, 43%, 46%)
(0.49 / 0.00 / 0.43 / 0.46)
Color #478A4F in popluar color models
47 | 8A | 4F | |
---|---|---|---|
RGB | 71 | 138 | 79 |
HSL | 127° | 32.06% | 40.98% |
HSB/HSV | 127° | 48.55% | 54.12% |
CMYK | 48.55% | 0.00% | 42.75% |
45.88% |
Color #478A4F in popluar number systems.
HEX | 47 | 8A | 4F |
Decimal | 71 | 138 | 79 |
Binary | 1000111 | 10001010 | 1001111 |
Octal | 107 | 212 | 117 |
Shades of #478A4F
Tints of #478A4F
Examples of css and html codes for elements with #478A4F color. Also use rgb(71,138,79) instead hex code.
.myTextColor { color: #478A4F; }
<p style="color:#478A4F">This sample text font color is #478A4F.</p>
This text font color is #478A4F.
.myBgColor { background-color: #478A4F; }
<div style="background-color:#478A4F">Inner text</div>
This div background color is #478A4F.
.myBorderColor { border: 1px solid #478A4F; }
<div style="border:3px solid #478A4F">Div</div>
This div border color is #478A4F.
.myOpacity80 { color: #478A4F; opacity: 0.8; }
<p style="color:#478A4F;opacity:0.8;">80%</p>
Text with #478A4F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #478A4F;}
<p style="text-shadow: 3px 3px 1px #478A4F">Text here.</p>
This text has shadow with #478A4F color.
.textShadow {text-shadow: 3px 3px 1px #478A4F', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #478A4F, 5px 5px 20px red">Text here.</p>
This text has shadow with #478A4F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#478A4F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#478A4F, Direction=45, Strength=4)">Text</p>
This text has shadow with #478A4F and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #478A4F;
-webkit-box-shadow: 1px 1px 3px 2px #478A4F;
box-shadow: 1px 1px 3px 2px #478A4F;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #478A4F; -webkit-box-shadow: 1px 1px 3px 2px #478A4F; box-shadow:1px 1px 3px 2px #478A4F;">
Div content here
</div>
This text has color #478A4F on black background.
This text has color #478A4F on white background.
This text has black color on #478A4F background.
This text has white color on #478A4F background.
Complementary color for #hex is #B875B0.