HEX: #478736
RGB: (71,135,54)
#478736 contains mainly green color. Web safe color of #478736 is #339933 (or #393).
#478736 color RGB value is (71,135,54).
RGB: (71,135,54) (28%,53%,21%)
R 71 of 255 = 28%
G 135 of 255 = 53%
B 54 of 255 = 21%
R + G + B ~ 34%. #478736 is quite dark color.
R + G + B =
71 + 135 + 54 = 260 (100%)
R 71 of 260 ~ 27.31%
G 135 of 260 ~ 51.92%
B 54 of 260 ~ 20.77%
#478736 color CMYK value is (47,0,60,47).
CMYK: (47,0,60,47) C47M0Y60K47 (47%,0%,60%,47%) (0.47/0.00/0.60/0.47)
47 | 87 | 36 | |
---|---|---|---|
RGB | 71 | 135 | 54 |
HSL | 107° | 42.86% | 37.06% |
HSB/HSV | 107° | 60.00% | 52.94% |
CMYK | 47.41% | 0.00% | 60.00% |
47.06% |
HEX | 47 | 87 | 36 |
Decimal | 71 | 135 | 54 |
Binary | 1000111 | 10000111 | 110110 |
Octal | 107 | 207 | 66 |
Examples of css and html codes for elements with #478736 color. Also use rgb(71,135,54) instead hex code.
.myTextColor { color: #478736; }
<p style="color:#478736">This sample text font color is #478736.</p>
This text font color is #478736.
.myBgColor { background-color: #478736; }
<div style="background-color:#478736">Inner text</div>
This div background color is #478736.
.myBorderColor { border: 1px solid #478736; }
<div style="border:3px solid #478736">Div</div>
This div border color is #478736.
.myOpacity80 { color: #478736; opacity: 0.8; }
<p style="color:#478736;opacity:0.8;">80%</p>
Text with #478736 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #478736;}
<p style="text-shadow: 3px 3px 1px #478736">Text here.</p>
This text has shadow with #478736 color.
.textShadow {text-shadow: 3px 3px 1px #478736, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #478736, 5px 5px 20px red">Text here.</p>
This text has shadow with #478736 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#478736, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#478736, Direction=45, Strength=4)">Text</p>
This text has shadow with #478736 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #478736; -webkit-box-shadow: 1px 1px 3px 2px #478736; box-shadow: 1px 1px 3px 2px #478736; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #478736; -webkit-box-shadow: 1px 1px 3px 2px #478736; box-shadow:1px 1px 3px 2px #478736;">
Div content here</div>
This text has color #478736 on black background.
This text has color #478736 on white background.
This text has black color on #478736 background.
This text has white color on #478736 background.