HEX: #475148
RGB: (71,81,72)
#475148 contains red, green and blue colors in about the same proportion. Web safe color of #475148 is #336633 (or #363).
#475148 color RGB value is (71,81,72).
RGB: (71,81,72) (28%,32%,28%)
R 71 of 255 = 28%
G 81 of 255 = 32%
B 72 of 255 = 28%
R + G + B ~ 29%. #475148 is quite dark color.
R + G + B =
71 + 81 + 72 = 224 (100%)
R 71 of 224 ~ 31.7%
G 81 of 224 ~ 36.16%
B 72 of 224 ~ 32.14%
#475148 color CMYK value is (12,0,11,68).
CMYK: (12,0,11,68) C12M0Y11K68 (12%,0%,11%,68%) (0.12/0.00/0.11/0.68)
47 | 51 | 48 | |
---|---|---|---|
RGB | 71 | 81 | 72 |
HSL | 126° | 6.58% | 29.80% |
HSB/HSV | 126° | 12.35% | 31.76% |
CMYK | 12.35% | 0.00% | 11.11% |
68.24% |
HEX | 47 | 51 | 48 |
Decimal | 71 | 81 | 72 |
Binary | 1000111 | 1010001 | 1001000 |
Octal | 107 | 121 | 110 |
Examples of css and html codes for elements with #475148 color. Also use rgb(71,81,72) instead hex code.
.myTextColor { color: #475148; }
<p style="color:#475148">This sample text font color is #475148.</p>
This text font color is #475148.
.myBgColor { background-color: #475148; }
<div style="background-color:#475148">Inner text</div>
This div background color is #475148.
.myBorderColor { border: 1px solid #475148; }
<div style="border:3px solid #475148">Div</div>
This div border color is #475148.
.myOpacity80 { color: #475148; opacity: 0.8; }
<p style="color:#475148;opacity:0.8;">80%</p>
Text with #475148 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #475148;}
<p style="text-shadow: 3px 3px 1px #475148">Text here.</p>
This text has shadow with #475148 color.
.textShadow {text-shadow: 3px 3px 1px #475148, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #475148, 5px 5px 20px red">Text here.</p>
This text has shadow with #475148 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#475148, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#475148, Direction=45, Strength=4)">Text</p>
This text has shadow with #475148 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #475148; -webkit-box-shadow: 1px 1px 3px 2px #475148; box-shadow: 1px 1px 3px 2px #475148; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #475148; -webkit-box-shadow: 1px 1px 3px 2px #475148; box-shadow:1px 1px 3px 2px #475148;">
Div content here</div>
This text has color #475148 on black background.
This text has color #475148 on white background.
This text has black color on #475148 background.
This text has white color on #475148 background.