HEX: #511520
RGB: (81,21,32)
#511520 contains mainly red and blue colors. Web safe color of #511520 is #660033 (or #603).
#511520 color RGB value is (81,21,32).
RGB: (81,21,32) (32%,8%,13%)
R 81 of 255 = 32%
G 21 of 255 = 8%
B 32 of 255 = 13%
R + G + B ~ 18%. #511520 is dark color.
R + G + B =
81 + 21 + 32 = 134 (100%)
R 81 of 134 ~ 60.45%
G 21 of 134 ~ 15.67%
B 32 of 134 ~ 23.88%
#511520 color CMYK value is (0,74,60,68).
CMYK: (0,74,60,68) C0M74Y60K68 (0%,74%,60%,68%) (0.00/0.74/0.60/0.68)
51 | 15 | 20 | |
---|---|---|---|
RGB | 81 | 21 | 32 |
HSL | 349° | 58.82% | 20.00% |
HSB/HSV | 349° | 74.07% | 31.76% |
CMYK | 0.00% | 74.07% | 60.49% |
68.24% |
HEX | 51 | 15 | 20 |
Decimal | 81 | 21 | 32 |
Binary | 1010001 | 10101 | 100000 |
Octal | 121 | 25 | 40 |
Examples of css and html codes for elements with #511520 color. Also use rgb(81,21,32) instead hex code.
.myTextColor { color: #511520; }
<p style="color:#511520">This sample text font color is #511520.</p>
This text font color is #511520.
.myBgColor { background-color: #511520; }
<div style="background-color:#511520">Inner text</div>
This div background color is #511520.
.myBorderColor { border: 1px solid #511520; }
<div style="border:3px solid #511520">Div</div>
This div border color is #511520.
.myOpacity80 { color: #511520; opacity: 0.8; }
<p style="color:#511520;opacity:0.8;">80%</p>
Text with #511520 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511520;}
<p style="text-shadow: 3px 3px 1px #511520">Text here.</p>
This text has shadow with #511520 color.
.textShadow {text-shadow: 3px 3px 1px #511520, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511520, 5px 5px 20px red">Text here.</p>
This text has shadow with #511520 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511520, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511520, Direction=45, Strength=4)">Text</p>
This text has shadow with #511520 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511520; -webkit-box-shadow: 1px 1px 3px 2px #511520; box-shadow: 1px 1px 3px 2px #511520; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511520; -webkit-box-shadow: 1px 1px 3px 2px #511520; box-shadow:1px 1px 3px 2px #511520;">
Div content here</div>
This text has color #511520 on black background.
This text has color #511520 on white background.
This text has black color on #511520 background.
This text has white color on #511520 background.