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