HEX: #513048
RGB: (81,48,72)
#513048 contains red, green and blue colors in about the same proportion. Web safe color of #513048 is #663333 (or #633).
#513048 color RGB value is (81,48,72).
RGB: (81,48,72) (32%,19%,28%)
R 81 of 255 = 32%
G 48 of 255 = 19%
B 72 of 255 = 28%
R + G + B ~ 26%. #513048 is quite dark color.
R + G + B =
81 + 48 + 72 = 201 (100%)
R 81 of 201 ~ 40.3%
G 48 of 201 ~ 23.88%
B 72 of 201 ~ 35.82%
#513048 color CMYK value is (0,41,11,68).
CMYK: (0,41,11,68) C0M41Y11K68 (0%,41%,11%,68%) (0.00/0.41/0.11/0.68)
51 | 30 | 48 | |
---|---|---|---|
RGB | 81 | 48 | 72 |
HSL | 316° | 25.58% | 25.29% |
HSB/HSV | 316° | 40.74% | 31.76% |
CMYK | 0.00% | 40.74% | 11.11% |
68.24% |
HEX | 51 | 30 | 48 |
Decimal | 81 | 48 | 72 |
Binary | 1010001 | 110000 | 1001000 |
Octal | 121 | 60 | 110 |
Examples of css and html codes for elements with #513048 color. Also use rgb(81,48,72) instead hex code.
.myTextColor { color: #513048; }
<p style="color:#513048">This sample text font color is #513048.</p>
This text font color is #513048.
.myBgColor { background-color: #513048; }
<div style="background-color:#513048">Inner text</div>
This div background color is #513048.
.myBorderColor { border: 1px solid #513048; }
<div style="border:3px solid #513048">Div</div>
This div border color is #513048.
.myOpacity80 { color: #513048; opacity: 0.8; }
<p style="color:#513048;opacity:0.8;">80%</p>
Text with #513048 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #513048;}
<p style="text-shadow: 3px 3px 1px #513048">Text here.</p>
This text has shadow with #513048 color.
.textShadow {text-shadow: 3px 3px 1px #513048, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #513048, 5px 5px 20px red">Text here.</p>
This text has shadow with #513048 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#513048, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#513048, Direction=45, Strength=4)">Text</p>
This text has shadow with #513048 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #513048; -webkit-box-shadow: 1px 1px 3px 2px #513048; box-shadow: 1px 1px 3px 2px #513048; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #513048; -webkit-box-shadow: 1px 1px 3px 2px #513048; box-shadow:1px 1px 3px 2px #513048;">
Div content here</div>
This text has color #513048 on black background.
This text has color #513048 on white background.
This text has black color on #513048 background.
This text has white color on #513048 background.