HEX: #478E31
RGB: (71,142,49)
#478E31 contains mainly green color. Web safe color of #478E31 is #339933 (or #393).
#478E31 color RGB value is (71,142,49).
RGB: (71,142,49) (28%,56%,19%)
R 71 of 255 = 28%
G 142 of 255 = 56%
B 49 of 255 = 19%
R + G + B ~ 34%. #478E31 is quite dark color.
R + G + B =
71 + 142 + 49 = 262 (100%)
R 71 of 262 ~ 27.1%
G 142 of 262 ~ 54.2%
B 49 of 262 ~ 18.7%
#478E31 color CMYK value is (50,0,65,44).
CMYK: (50,0,65,44) C50M0Y65K44 (50%,0%,65%,44%) (0.50/0.00/0.65/0.44)
47 | 8E | 31 | |
---|---|---|---|
RGB | 71 | 142 | 49 |
HSL | 106° | 48.69% | 37.45% |
HSB/HSV | 106° | 65.49% | 55.69% |
CMYK | 50.00% | 0.00% | 65.49% |
44.31% |
HEX | 47 | 8E | 31 |
Decimal | 71 | 142 | 49 |
Binary | 1000111 | 10001110 | 110001 |
Octal | 107 | 216 | 61 |
Examples of css and html codes for elements with #478E31 color. Also use rgb(71,142,49) instead hex code.
.myTextColor { color: #478E31; }
<p style="color:#478E31">This sample text font color is #478E31.</p>
This text font color is #478E31.
.myBgColor { background-color: #478E31; }
<div style="background-color:#478E31">Inner text</div>
This div background color is #478E31.
.myBorderColor { border: 1px solid #478E31; }
<div style="border:3px solid #478E31">Div</div>
This div border color is #478E31.
.myOpacity80 { color: #478E31; opacity: 0.8; }
<p style="color:#478E31;opacity:0.8;">80%</p>
Text with #478E31 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #478E31;}
<p style="text-shadow: 3px 3px 1px #478E31">Text here.</p>
This text has shadow with #478E31 color.
.textShadow {text-shadow: 3px 3px 1px #478E31, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #478E31, 5px 5px 20px red">Text here.</p>
This text has shadow with #478E31 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#478E31, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#478E31, Direction=45, Strength=4)">Text</p>
This text has shadow with #478E31 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #478E31; -webkit-box-shadow: 1px 1px 3px 2px #478E31; box-shadow: 1px 1px 3px 2px #478E31; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #478E31; -webkit-box-shadow: 1px 1px 3px 2px #478E31; box-shadow:1px 1px 3px 2px #478E31;">
Div content here</div>
This text has color #478E31 on black background.
This text has color #478E31 on white background.
This text has black color on #478E31 background.
This text has white color on #478E31 background.