HEX: #478E16
RGB: (71,142,22)
#478E16 contains mainly green color. Web safe color of #478E16 is #339900 (or #390).
#478E16 color RGB value is (71,142,22).
RGB: (71,142,22)
(28%, 56%, 9%)
R 71 of 255 = 28%
G 142 of 255 = 56%
B 22 of 255 = 9%
R + G + B ~ 31%. #478E16 is quite dark color.
R + G + B = 71 + 142 + 22 = 235 (100%)
R 71 of 235 ~ 30.21%
G 142 of 235 ~ 60.43%
B 22 of 235 ~ 9.36'%
#478E16 color CMYK value is (50,0,85,44).
CMYK: (50,0,85,44)
C50M0Y85K44 (50%, 0%, 85%, 44%)
(0.50 / 0.00 / 0.85 / 0.44)
Color #478E16 in popluar color models
47 | 8E | 16 | |
---|---|---|---|
RGB | 71 | 142 | 22 |
HSL | 96° | 73.17% | 32.16% |
HSB/HSV | 96° | 84.51% | 55.69% |
CMYK | 50.00% | 0.00% | 84.51% |
44.31% |
Color #478E16 in popluar number systems.
HEX | 47 | 8E | 16 |
Decimal | 71 | 142 | 22 |
Binary | 1000111 | 10001110 | 10110 |
Octal | 107 | 216 | 26 |
Shades of #478E16
Tints of #478E16
Examples of css and html codes for elements with #478E16 color. Also use rgb(71,142,22) instead hex code.
.myTextColor { color: #478E16; }
<p style="color:#478E16">This sample text font color is #478E16.</p>
This text font color is #478E16.
.myBgColor { background-color: #478E16; }
<div style="background-color:#478E16">Inner text</div>
This div background color is #478E16.
.myBorderColor { border: 1px solid #478E16; }
<div style="border:3px solid #478E16">Div</div>
This div border color is #478E16.
.myOpacity80 { color: #478E16; opacity: 0.8; }
<p style="color:#478E16;opacity:0.8;">80%</p>
Text with #478E16 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #478E16;}
<p style="text-shadow: 3px 3px 1px #478E16">Text here.</p>
This text has shadow with #478E16 color.
.textShadow {text-shadow: 3px 3px 1px #478E16', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #478E16, 5px 5px 20px red">Text here.</p>
This text has shadow with #478E16 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#478E16, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#478E16, Direction=45, Strength=4)">Text</p>
This text has shadow with #478E16 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #478E16;
-webkit-box-shadow: 1px 1px 3px 2px #478E16;
box-shadow: 1px 1px 3px 2px #478E16;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #478E16; -webkit-box-shadow: 1px 1px 3px 2px #478E16; box-shadow:1px 1px 3px 2px #478E16;">
Div content here
</div>
This text has color #478E16 on black background.
This text has color #478E16 on white background.
This text has black color on #478E16 background.
This text has white color on #478E16 background.
Complementary color for #hex is #B871E9.