HEX: #511513
RGB: (81,21,19)
#511513 contains mainly red color. Web safe color of #511513 is #660000 (or #600).
#511513 color RGB value is (81,21,19).
RGB: (81,21,19) (32%,8%,7%)
R 81 of 255 = 32%
G 21 of 255 = 8%
B 19 of 255 = 7%
R + G + B ~ 16%. #511513 is dark color.
R + G + B =
81 + 21 + 19 = 121 (100%)
R 81 of 121 ~ 66.94%
G 21 of 121 ~ 17.36%
B 19 of 121 ~ 15.7%
#511513 color CMYK value is (0,74,77,68).
CMYK: (0,74,77,68) C0M74Y77K68 (0%,74%,77%,68%) (0.00/0.74/0.77/0.68)
51 | 15 | 13 | |
---|---|---|---|
RGB | 81 | 21 | 19 |
HSL | 2° | 62.00% | 19.61% |
HSB/HSV | 2° | 76.54% | 31.76% |
CMYK | 0.00% | 74.07% | 76.54% |
68.24% |
HEX | 51 | 15 | 13 |
Decimal | 81 | 21 | 19 |
Binary | 1010001 | 10101 | 10011 |
Octal | 121 | 25 | 23 |
Examples of css and html codes for elements with #511513 color. Also use rgb(81,21,19) instead hex code.
.myTextColor { color: #511513; }
<p style="color:#511513">This sample text font color is #511513.</p>
This text font color is #511513.
.myBgColor { background-color: #511513; }
<div style="background-color:#511513">Inner text</div>
This div background color is #511513.
.myBorderColor { border: 1px solid #511513; }
<div style="border:3px solid #511513">Div</div>
This div border color is #511513.
.myOpacity80 { color: #511513; opacity: 0.8; }
<p style="color:#511513;opacity:0.8;">80%</p>
Text with #511513 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511513;}
<p style="text-shadow: 3px 3px 1px #511513">Text here.</p>
This text has shadow with #511513 color.
.textShadow {text-shadow: 3px 3px 1px #511513, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511513, 5px 5px 20px red">Text here.</p>
This text has shadow with #511513 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511513, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511513, Direction=45, Strength=4)">Text</p>
This text has shadow with #511513 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511513; -webkit-box-shadow: 1px 1px 3px 2px #511513; box-shadow: 1px 1px 3px 2px #511513; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511513; -webkit-box-shadow: 1px 1px 3px 2px #511513; box-shadow:1px 1px 3px 2px #511513;">
Div content here</div>
This text has color #511513 on black background.
This text has color #511513 on white background.
This text has black color on #511513 background.
This text has white color on #511513 background.