HEX: #513E15
RGB: (81,62,21)
#513E15 contains mainly red and green colors. Web safe color of #513E15 is #663300 (or #630).
#513E15 color RGB value is (81,62,21).
RGB: (81,62,21) (32%,24%,8%)
R 81 of 255 = 32%
G 62 of 255 = 24%
B 21 of 255 = 8%
R + G + B ~ 21%. #513E15 is dark color.
R + G + B =
81 + 62 + 21 = 164 (100%)
R 81 of 164 ~ 49.39%
G 62 of 164 ~ 37.8%
B 21 of 164 ~ 12.8%
#513E15 color CMYK value is (0,23,74,68).
CMYK: (0,23,74,68) C0M23Y74K68 (0%,23%,74%,68%) (0.00/0.23/0.74/0.68)
51 | 3E | 15 | |
---|---|---|---|
RGB | 81 | 62 | 21 |
HSL | 41° | 58.82% | 20.00% |
HSB/HSV | 41° | 74.07% | 31.76% |
CMYK | 0.00% | 23.46% | 74.07% |
68.24% |
HEX | 51 | 3E | 15 |
Decimal | 81 | 62 | 21 |
Binary | 1010001 | 111110 | 10101 |
Octal | 121 | 76 | 25 |
Examples of css and html codes for elements with #513E15 color. Also use rgb(81,62,21) instead hex code.
.myTextColor { color: #513E15; }
<p style="color:#513E15">This sample text font color is #513E15.</p>
This text font color is #513E15.
.myBgColor { background-color: #513E15; }
<div style="background-color:#513E15">Inner text</div>
This div background color is #513E15.
.myBorderColor { border: 1px solid #513E15; }
<div style="border:3px solid #513E15">Div</div>
This div border color is #513E15.
.myOpacity80 { color: #513E15; opacity: 0.8; }
<p style="color:#513E15;opacity:0.8;">80%</p>
Text with #513E15 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #513E15;}
<p style="text-shadow: 3px 3px 1px #513E15">Text here.</p>
This text has shadow with #513E15 color.
.textShadow {text-shadow: 3px 3px 1px #513E15, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #513E15, 5px 5px 20px red">Text here.</p>
This text has shadow with #513E15 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#513E15, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#513E15, Direction=45, Strength=4)">Text</p>
This text has shadow with #513E15 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #513E15; -webkit-box-shadow: 1px 1px 3px 2px #513E15; box-shadow: 1px 1px 3px 2px #513E15; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #513E15; -webkit-box-shadow: 1px 1px 3px 2px #513E15; box-shadow:1px 1px 3px 2px #513E15;">
Div content here</div>
This text has color #513E15 on black background.
This text has color #513E15 on white background.
This text has black color on #513E15 background.
This text has white color on #513E15 background.