HEX: #515841
RGB: (81,88,65)
#515841 contains red, green and blue colors in about the same proportion. Web safe color of #515841 is #666633 (or #663).
#515841 color RGB value is (81,88,65).
RGB: (81,88,65) (32%,35%,25%)
R 81 of 255 = 32%
G 88 of 255 = 35%
B 65 of 255 = 25%
R + G + B ~ 31%. #515841 is quite dark color.
R + G + B =
81 + 88 + 65 = 234 (100%)
R 81 of 234 ~ 34.62%
G 88 of 234 ~ 37.61%
B 65 of 234 ~ 27.78%
#515841 color CMYK value is (8,0,26,65).
CMYK: (8,0,26,65) C8M0Y26K65 (8%,0%,26%,65%) (0.08/0.00/0.26/0.65)
51 | 58 | 41 | |
---|---|---|---|
RGB | 81 | 88 | 65 |
HSL | 78° | 15.03% | 30.00% |
HSB/HSV | 78° | 26.14% | 34.51% |
CMYK | 7.95% | 0.00% | 26.14% |
65.49% |
HEX | 51 | 58 | 41 |
Decimal | 81 | 88 | 65 |
Binary | 1010001 | 1011000 | 1000001 |
Octal | 121 | 130 | 101 |
Examples of css and html codes for elements with #515841 color. Also use rgb(81,88,65) instead hex code.
.myTextColor { color: #515841; }
<p style="color:#515841">This sample text font color is #515841.</p>
This text font color is #515841.
.myBgColor { background-color: #515841; }
<div style="background-color:#515841">Inner text</div>
This div background color is #515841.
.myBorderColor { border: 1px solid #515841; }
<div style="border:3px solid #515841">Div</div>
This div border color is #515841.
.myOpacity80 { color: #515841; opacity: 0.8; }
<p style="color:#515841;opacity:0.8;">80%</p>
Text with #515841 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #515841;}
<p style="text-shadow: 3px 3px 1px #515841">Text here.</p>
This text has shadow with #515841 color.
.textShadow {text-shadow: 3px 3px 1px #515841, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #515841, 5px 5px 20px red">Text here.</p>
This text has shadow with #515841 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#515841, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#515841, Direction=45, Strength=4)">Text</p>
This text has shadow with #515841 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #515841; -webkit-box-shadow: 1px 1px 3px 2px #515841; box-shadow: 1px 1px 3px 2px #515841; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #515841; -webkit-box-shadow: 1px 1px 3px 2px #515841; box-shadow:1px 1px 3px 2px #515841;">
Div content here</div>
This text has color #515841 on black background.
This text has color #515841 on white background.
This text has black color on #515841 background.
This text has white color on #515841 background.