HEX: #476227
RGB: (71,98,39)
#476227 contains red, green and blue colors in about the same proportion. Web safe color of #476227 is #336633 (or #363).
#476227 color RGB value is (71,98,39).
RGB: (71,98,39) (28%,38%,15%)
R 71 of 255 = 28%
G 98 of 255 = 38%
B 39 of 255 = 15%
R + G + B ~ 27%. #476227 is quite dark color.
R + G + B =
71 + 98 + 39 = 208 (100%)
R 71 of 208 ~ 34.13%
G 98 of 208 ~ 47.12%
B 39 of 208 ~ 18.75%
#476227 color CMYK value is (28,0,60,62).
CMYK: (28,0,60,62) C28M0Y60K62 (28%,0%,60%,62%) (0.28/0.00/0.60/0.62)
47 | 62 | 27 | |
---|---|---|---|
RGB | 71 | 98 | 39 |
HSL | 87° | 43.07% | 26.86% |
HSB/HSV | 87° | 60.20% | 38.43% |
CMYK | 27.55% | 0.00% | 60.20% |
61.57% |
HEX | 47 | 62 | 27 |
Decimal | 71 | 98 | 39 |
Binary | 1000111 | 1100010 | 100111 |
Octal | 107 | 142 | 47 |
Examples of css and html codes for elements with #476227 color. Also use rgb(71,98,39) instead hex code.
.myTextColor { color: #476227; }
<p style="color:#476227">This sample text font color is #476227.</p>
This text font color is #476227.
.myBgColor { background-color: #476227; }
<div style="background-color:#476227">Inner text</div>
This div background color is #476227.
.myBorderColor { border: 1px solid #476227; }
<div style="border:3px solid #476227">Div</div>
This div border color is #476227.
.myOpacity80 { color: #476227; opacity: 0.8; }
<p style="color:#476227;opacity:0.8;">80%</p>
Text with #476227 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #476227;}
<p style="text-shadow: 3px 3px 1px #476227">Text here.</p>
This text has shadow with #476227 color.
.textShadow {text-shadow: 3px 3px 1px #476227, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #476227, 5px 5px 20px red">Text here.</p>
This text has shadow with #476227 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#476227, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#476227, Direction=45, Strength=4)">Text</p>
This text has shadow with #476227 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #476227; -webkit-box-shadow: 1px 1px 3px 2px #476227; box-shadow: 1px 1px 3px 2px #476227; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #476227; -webkit-box-shadow: 1px 1px 3px 2px #476227; box-shadow:1px 1px 3px 2px #476227;">
Div content here</div>
This text has color #476227 on black background.
This text has color #476227 on white background.
This text has black color on #476227 background.
This text has white color on #476227 background.