HEX: #478C49
RGB: (71,140,73)
#478C49 contains mainly green color. Web safe color of #478C49 is #339933 (or #393).
#478C49 color RGB value is (71,140,73).
RGB: (71,140,73) (28%,55%,29%)
R 71 of 255 = 28%
G 140 of 255 = 55%
B 73 of 255 = 29%
R + G + B ~ 37%. #478C49 is quite dark color.
R + G + B =
71 + 140 + 73 = 284 (100%)
R 71 of 284 ~ 25%
G 140 of 284 ~ 49.3%
B 73 of 284 ~ 25.7%
#478C49 color CMYK value is (49,0,48,45).
CMYK: (49,0,48,45) C49M0Y48K45 (49%,0%,48%,45%) (0.49/0.00/0.48/0.45)
47 | 8C | 49 | |
---|---|---|---|
RGB | 71 | 140 | 73 |
HSL | 122° | 32.70% | 41.37% |
HSB/HSV | 122° | 49.29% | 54.90% |
CMYK | 49.29% | 0.00% | 47.86% |
45.10% |
HEX | 47 | 8C | 49 |
Decimal | 71 | 140 | 73 |
Binary | 1000111 | 10001100 | 1001001 |
Octal | 107 | 214 | 111 |
Examples of css and html codes for elements with #478C49 color. Also use rgb(71,140,73) instead hex code.
.myTextColor { color: #478C49; }
<p style="color:#478C49">This sample text font color is #478C49.</p>
This text font color is #478C49.
.myBgColor { background-color: #478C49; }
<div style="background-color:#478C49">Inner text</div>
This div background color is #478C49.
.myBorderColor { border: 1px solid #478C49; }
<div style="border:3px solid #478C49">Div</div>
This div border color is #478C49.
.myOpacity80 { color: #478C49; opacity: 0.8; }
<p style="color:#478C49;opacity:0.8;">80%</p>
Text with #478C49 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #478C49;}
<p style="text-shadow: 3px 3px 1px #478C49">Text here.</p>
This text has shadow with #478C49 color.
.textShadow {text-shadow: 3px 3px 1px #478C49, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #478C49, 5px 5px 20px red">Text here.</p>
This text has shadow with #478C49 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#478C49, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#478C49, Direction=45, Strength=4)">Text</p>
This text has shadow with #478C49 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #478C49; -webkit-box-shadow: 1px 1px 3px 2px #478C49; box-shadow: 1px 1px 3px 2px #478C49; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #478C49; -webkit-box-shadow: 1px 1px 3px 2px #478C49; box-shadow:1px 1px 3px 2px #478C49;">
Div content here</div>
This text has color #478C49 on black background.
This text has color #478C49 on white background.
This text has black color on #478C49 background.
This text has white color on #478C49 background.