HEX: #4A5247
RGB: (74,82,71)
#4A5247 contains red, green and blue colors in about the same proportion. Web safe color of #4A5247 is #336633 (or #363).
#4A5247 color RGB value is (74,82,71).
RGB: (74,82,71) (29%,32%,28%)
R 74 of 255 = 29%
G 82 of 255 = 32%
B 71 of 255 = 28%
R + G + B ~ 30%. #4A5247 is quite dark color.
R + G + B =
74 + 82 + 71 = 227 (100%)
R 74 of 227 ~ 32.6%
G 82 of 227 ~ 36.12%
B 71 of 227 ~ 31.28%
#4A5247 color CMYK value is (10,0,13,68).
CMYK: (10,0,13,68) C10M0Y13K68 (10%,0%,13%,68%) (0.10/0.00/0.13/0.68)
4A | 52 | 47 | |
---|---|---|---|
RGB | 74 | 82 | 71 |
HSL | 104° | 7.19% | 30.00% |
HSB/HSV | 104° | 13.41% | 32.16% |
CMYK | 9.76% | 0.00% | 13.41% |
67.84% |
HEX | 4A | 52 | 47 |
Decimal | 74 | 82 | 71 |
Binary | 1001010 | 1010010 | 1000111 |
Octal | 112 | 122 | 107 |
Examples of css and html codes for elements with #4A5247 color. Also use rgb(74,82,71) instead hex code.
.myTextColor { color: #4A5247; }
<p style="color:#4A5247">This sample text font color is #4A5247.</p>
This text font color is #4A5247.
.myBgColor { background-color: #4A5247; }
<div style="background-color:#4A5247">Inner text</div>
This div background color is #4A5247.
.myBorderColor { border: 1px solid #4A5247; }
<div style="border:3px solid #4A5247">Div</div>
This div border color is #4A5247.
.myOpacity80 { color: #4A5247; opacity: 0.8; }
<p style="color:#4A5247;opacity:0.8;">80%</p>
Text with #4A5247 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A5247;}
<p style="text-shadow: 3px 3px 1px #4A5247">Text here.</p>
This text has shadow with #4A5247 color.
.textShadow {text-shadow: 3px 3px 1px #4A5247, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A5247, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A5247 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A5247, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A5247, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A5247 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A5247; -webkit-box-shadow: 1px 1px 3px 2px #4A5247; box-shadow: 1px 1px 3px 2px #4A5247; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A5247; -webkit-box-shadow: 1px 1px 3px 2px #4A5247; box-shadow:1px 1px 3px 2px #4A5247;">
Div content here</div>
This text has color #4A5247 on black background.
This text has color #4A5247 on white background.
This text has black color on #4A5247 background.
This text has white color on #4A5247 background.