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