HEX: #479942
RGB: (71,153,66)
#479942 contains mainly green color. Web safe color of #479942 is #339933 (or #393).
#479942 color RGB value is (71,153,66).
RGB: (71,153,66) (28%,60%,26%)
R 71 of 255 = 28%
G 153 of 255 = 60%
B 66 of 255 = 26%
R + G + B ~ 38%. #479942 is quite dark color.
R + G + B =
71 + 153 + 66 = 290 (100%)
R 71 of 290 ~ 24.48%
G 153 of 290 ~ 52.76%
B 66 of 290 ~ 22.76%
#479942 color CMYK value is (54,0,57,40).
CMYK: (54,0,57,40) C54M0Y57K40 (54%,0%,57%,40%) (0.54/0.00/0.57/0.40)
47 | 99 | 42 | |
---|---|---|---|
RGB | 71 | 153 | 66 |
HSL | 117° | 39.73% | 42.94% |
HSB/HSV | 117° | 56.86% | 60.00% |
CMYK | 53.59% | 0.00% | 56.86% |
40.00% |
HEX | 47 | 99 | 42 |
Decimal | 71 | 153 | 66 |
Binary | 1000111 | 10011001 | 1000010 |
Octal | 107 | 231 | 102 |
Examples of css and html codes for elements with #479942 color. Also use rgb(71,153,66) instead hex code.
.myTextColor { color: #479942; }
<p style="color:#479942">This sample text font color is #479942.</p>
This text font color is #479942.
.myBgColor { background-color: #479942; }
<div style="background-color:#479942">Inner text</div>
This div background color is #479942.
.myBorderColor { border: 1px solid #479942; }
<div style="border:3px solid #479942">Div</div>
This div border color is #479942.
.myOpacity80 { color: #479942; opacity: 0.8; }
<p style="color:#479942;opacity:0.8;">80%</p>
Text with #479942 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #479942;}
<p style="text-shadow: 3px 3px 1px #479942">Text here.</p>
This text has shadow with #479942 color.
.textShadow {text-shadow: 3px 3px 1px #479942, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #479942, 5px 5px 20px red">Text here.</p>
This text has shadow with #479942 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#479942, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#479942, Direction=45, Strength=4)">Text</p>
This text has shadow with #479942 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #479942; -webkit-box-shadow: 1px 1px 3px 2px #479942; box-shadow: 1px 1px 3px 2px #479942; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #479942; -webkit-box-shadow: 1px 1px 3px 2px #479942; box-shadow:1px 1px 3px 2px #479942;">
Div content here</div>
This text has color #479942 on black background.
This text has color #479942 on white background.
This text has black color on #479942 background.
This text has white color on #479942 background.