HEX: #515331
RGB: (81,83,49)
#515331 contains red, green and blue colors in about the same proportion. Web safe color of #515331 is #666633 (or #663).
#515331 color RGB value is (81,83,49).
RGB: (81,83,49) (32%,33%,19%)
R 81 of 255 = 32%
G 83 of 255 = 33%
B 49 of 255 = 19%
R + G + B ~ 28%. #515331 is quite dark color.
R + G + B =
81 + 83 + 49 = 213 (100%)
R 81 of 213 ~ 38.03%
G 83 of 213 ~ 38.97%
B 49 of 213 ~ 23%
#515331 color CMYK value is (2,0,41,67).
CMYK: (2,0,41,67) C2M0Y41K67 (2%,0%,41%,67%) (0.02/0.00/0.41/0.67)
51 | 53 | 31 | |
---|---|---|---|
RGB | 81 | 83 | 49 |
HSL | 64° | 25.76% | 25.88% |
HSB/HSV | 64° | 40.96% | 32.55% |
CMYK | 2.41% | 0.00% | 40.96% |
67.45% |
HEX | 51 | 53 | 31 |
Decimal | 81 | 83 | 49 |
Binary | 1010001 | 1010011 | 110001 |
Octal | 121 | 123 | 61 |
Examples of css and html codes for elements with #515331 color. Also use rgb(81,83,49) instead hex code.
.myTextColor { color: #515331; }
<p style="color:#515331">This sample text font color is #515331.</p>
This text font color is #515331.
.myBgColor { background-color: #515331; }
<div style="background-color:#515331">Inner text</div>
This div background color is #515331.
.myBorderColor { border: 1px solid #515331; }
<div style="border:3px solid #515331">Div</div>
This div border color is #515331.
.myOpacity80 { color: #515331; opacity: 0.8; }
<p style="color:#515331;opacity:0.8;">80%</p>
Text with #515331 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #515331;}
<p style="text-shadow: 3px 3px 1px #515331">Text here.</p>
This text has shadow with #515331 color.
.textShadow {text-shadow: 3px 3px 1px #515331, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #515331, 5px 5px 20px red">Text here.</p>
This text has shadow with #515331 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#515331, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#515331, Direction=45, Strength=4)">Text</p>
This text has shadow with #515331 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #515331; -webkit-box-shadow: 1px 1px 3px 2px #515331; box-shadow: 1px 1px 3px 2px #515331; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #515331; -webkit-box-shadow: 1px 1px 3px 2px #515331; box-shadow:1px 1px 3px 2px #515331;">
Div content here</div>
This text has color #515331 on black background.
This text has color #515331 on white background.
This text has black color on #515331 background.
This text has white color on #515331 background.