HEX: #52003C
RGB: (82,0,60)
#52003C contains only red and blue colors. Web safe color of #52003C is #660033 (or #603).
#52003C color RGB value is (82,0,60).
RGB: (82,0,60) (32%,0%,24%)
R 82 of 255 = 32%
G 0 of 255 = 0%
B 60 of 255 = 24%
R + G + B ~ 19%. #52003C is dark color.
R + G + B =
82 + 0 + 60 = 142 (100%)
R 82 of 142 ~ 57.75%
G 0 of 142 ~ 0%
B 60 of 142 ~ 42.25%
#52003C color CMYK value is (0,100,27,68).
CMYK: (0,100,27,68) C0M100Y27K68 (0%,100%,27%,68%) (0.00/1.00/0.27/0.68)
52 | 00 | 3C | |
---|---|---|---|
RGB | 82 | 0 | 60 |
HSL | 316° | 100.00% | 16.08% |
HSB/HSV | 316° | 100.00% | 32.16% |
CMYK | 0.00% | 100.00% | 26.83% |
67.84% |
HEX | 52 | 00 | 3C |
Decimal | 82 | 0 | 60 |
Binary | 1010010 | 0 | 111100 |
Octal | 122 | 0 | 74 |
Examples of css and html codes for elements with #52003C color. Also use rgb(82,0,60) instead hex code.
.myTextColor { color: #52003C; }
<p style="color:#52003C">This sample text font color is #52003C.</p>
This text font color is #52003C.
.myBgColor { background-color: #52003C; }
<div style="background-color:#52003C">Inner text</div>
This div background color is #52003C.
.myBorderColor { border: 1px solid #52003C; }
<div style="border:3px solid #52003C">Div</div>
This div border color is #52003C.
.myOpacity80 { color: #52003C; opacity: 0.8; }
<p style="color:#52003C;opacity:0.8;">80%</p>
Text with #52003C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52003C;}
<p style="text-shadow: 3px 3px 1px #52003C">Text here.</p>
This text has shadow with #52003C color.
.textShadow {text-shadow: 3px 3px 1px #52003C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52003C, 5px 5px 20px red">Text here.</p>
This text has shadow with #52003C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52003C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52003C, Direction=45, Strength=4)">Text</p>
This text has shadow with #52003C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52003C; -webkit-box-shadow: 1px 1px 3px 2px #52003C; box-shadow: 1px 1px 3px 2px #52003C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52003C; -webkit-box-shadow: 1px 1px 3px 2px #52003C; box-shadow:1px 1px 3px 2px #52003C;">
Div content here</div>
This text has color #52003C on black background.
This text has color #52003C on white background.
This text has black color on #52003C background.
This text has white color on #52003C background.