HEX: #512549
RGB: (81,37,73)
#512549 contains red, green and blue colors in about the same proportion. Web safe color of #512549 is #663333 (or #633).
#512549 color RGB value is (81,37,73).
RGB: (81,37,73) (32%,15%,29%)
R 81 of 255 = 32%
G 37 of 255 = 15%
B 73 of 255 = 29%
R + G + B ~ 25%. #512549 is quite dark color.
R + G + B =
81 + 37 + 73 = 191 (100%)
R 81 of 191 ~ 42.41%
G 37 of 191 ~ 19.37%
B 73 of 191 ~ 38.22%
#512549 color CMYK value is (0,54,10,68).
CMYK: (0,54,10,68) C0M54Y10K68 (0%,54%,10%,68%) (0.00/0.54/0.10/0.68)
51 | 25 | 49 | |
---|---|---|---|
RGB | 81 | 37 | 73 |
HSL | 311° | 37.29% | 23.14% |
HSB/HSV | 311° | 54.32% | 31.76% |
CMYK | 0.00% | 54.32% | 9.88% |
68.24% |
HEX | 51 | 25 | 49 |
Decimal | 81 | 37 | 73 |
Binary | 1010001 | 100101 | 1001001 |
Octal | 121 | 45 | 111 |
Examples of css and html codes for elements with #512549 color. Also use rgb(81,37,73) instead hex code.
.myTextColor { color: #512549; }
<p style="color:#512549">This sample text font color is #512549.</p>
This text font color is #512549.
.myBgColor { background-color: #512549; }
<div style="background-color:#512549">Inner text</div>
This div background color is #512549.
.myBorderColor { border: 1px solid #512549; }
<div style="border:3px solid #512549">Div</div>
This div border color is #512549.
.myOpacity80 { color: #512549; opacity: 0.8; }
<p style="color:#512549;opacity:0.8;">80%</p>
Text with #512549 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #512549;}
<p style="text-shadow: 3px 3px 1px #512549">Text here.</p>
This text has shadow with #512549 color.
.textShadow {text-shadow: 3px 3px 1px #512549, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #512549, 5px 5px 20px red">Text here.</p>
This text has shadow with #512549 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#512549, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#512549, Direction=45, Strength=4)">Text</p>
This text has shadow with #512549 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #512549; -webkit-box-shadow: 1px 1px 3px 2px #512549; box-shadow: 1px 1px 3px 2px #512549; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #512549; -webkit-box-shadow: 1px 1px 3px 2px #512549; box-shadow:1px 1px 3px 2px #512549;">
Div content here</div>
This text has color #512549 on black background.
This text has color #512549 on white background.
This text has black color on #512549 background.
This text has white color on #512549 background.