HEX: #4B522E
RGB: (75,82,46)
#4B522E contains red, green and blue colors in about the same proportion. Web safe color of #4B522E is #336633 (or #363).
#4B522E color RGB value is (75,82,46).
RGB: (75,82,46) (29%,32%,18%)
R 75 of 255 = 29%
G 82 of 255 = 32%
B 46 of 255 = 18%
R + G + B ~ 26%. #4B522E is quite dark color.
R + G + B =
75 + 82 + 46 = 203 (100%)
R 75 of 203 ~ 36.95%
G 82 of 203 ~ 40.39%
B 46 of 203 ~ 22.66%
#4B522E color CMYK value is (9,0,44,68).
CMYK: (9,0,44,68) C9M0Y44K68 (9%,0%,44%,68%) (0.09/0.00/0.44/0.68)
4B | 52 | 2E | |
---|---|---|---|
RGB | 75 | 82 | 46 |
HSL | 72° | 28.13% | 25.10% |
HSB/HSV | 72° | 43.90% | 32.16% |
CMYK | 8.54% | 0.00% | 43.90% |
67.84% |
HEX | 4B | 52 | 2E |
Decimal | 75 | 82 | 46 |
Binary | 1001011 | 1010010 | 101110 |
Octal | 113 | 122 | 56 |
Examples of css and html codes for elements with #4B522E color. Also use rgb(75,82,46) instead hex code.
.myTextColor { color: #4B522E; }
<p style="color:#4B522E">This sample text font color is #4B522E.</p>
This text font color is #4B522E.
.myBgColor { background-color: #4B522E; }
<div style="background-color:#4B522E">Inner text</div>
This div background color is #4B522E.
.myBorderColor { border: 1px solid #4B522E; }
<div style="border:3px solid #4B522E">Div</div>
This div border color is #4B522E.
.myOpacity80 { color: #4B522E; opacity: 0.8; }
<p style="color:#4B522E;opacity:0.8;">80%</p>
Text with #4B522E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B522E;}
<p style="text-shadow: 3px 3px 1px #4B522E">Text here.</p>
This text has shadow with #4B522E color.
.textShadow {text-shadow: 3px 3px 1px #4B522E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B522E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B522E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B522E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B522E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B522E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B522E; -webkit-box-shadow: 1px 1px 3px 2px #4B522E; box-shadow: 1px 1px 3px 2px #4B522E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B522E; -webkit-box-shadow: 1px 1px 3px 2px #4B522E; box-shadow:1px 1px 3px 2px #4B522E;">
Div content here</div>
This text has color #4B522E on black background.
This text has color #4B522E on white background.
This text has black color on #4B522E background.
This text has white color on #4B522E background.