HEX: #512C4C
RGB: (81,44,76)
#512C4C contains red, green and blue colors in about the same proportion. Web safe color of #512C4C is #663333 (or #633).
#512C4C color RGB value is (81,44,76).
RGB: (81,44,76) (32%,17%,30%)
R 81 of 255 = 32%
G 44 of 255 = 17%
B 76 of 255 = 30%
R + G + B ~ 26%. #512C4C is quite dark color.
R + G + B =
81 + 44 + 76 = 201 (100%)
R 81 of 201 ~ 40.3%
G 44 of 201 ~ 21.89%
B 76 of 201 ~ 37.81%
#512C4C color CMYK value is (0,46,6,68).
CMYK: (0,46,6,68) C0M46Y6K68 (0%,46%,6%,68%) (0.00/0.46/0.06/0.68)
51 | 2C | 4C | |
---|---|---|---|
RGB | 81 | 44 | 76 |
HSL | 308° | 29.60% | 24.51% |
HSB/HSV | 308° | 45.68% | 31.76% |
CMYK | 0.00% | 45.68% | 6.17% |
68.24% |
HEX | 51 | 2C | 4C |
Decimal | 81 | 44 | 76 |
Binary | 1010001 | 101100 | 1001100 |
Octal | 121 | 54 | 114 |
Examples of css and html codes for elements with #512C4C color. Also use rgb(81,44,76) instead hex code.
.myTextColor { color: #512C4C; }
<p style="color:#512C4C">This sample text font color is #512C4C.</p>
This text font color is #512C4C.
.myBgColor { background-color: #512C4C; }
<div style="background-color:#512C4C">Inner text</div>
This div background color is #512C4C.
.myBorderColor { border: 1px solid #512C4C; }
<div style="border:3px solid #512C4C">Div</div>
This div border color is #512C4C.
.myOpacity80 { color: #512C4C; opacity: 0.8; }
<p style="color:#512C4C;opacity:0.8;">80%</p>
Text with #512C4C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #512C4C;}
<p style="text-shadow: 3px 3px 1px #512C4C">Text here.</p>
This text has shadow with #512C4C color.
.textShadow {text-shadow: 3px 3px 1px #512C4C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #512C4C, 5px 5px 20px red">Text here.</p>
This text has shadow with #512C4C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#512C4C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#512C4C, Direction=45, Strength=4)">Text</p>
This text has shadow with #512C4C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #512C4C; -webkit-box-shadow: 1px 1px 3px 2px #512C4C; box-shadow: 1px 1px 3px 2px #512C4C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #512C4C; -webkit-box-shadow: 1px 1px 3px 2px #512C4C; box-shadow:1px 1px 3px 2px #512C4C;">
Div content here</div>
This text has color #512C4C on black background.
This text has color #512C4C on white background.
This text has black color on #512C4C background.
This text has white color on #512C4C background.