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