HEX: #52477C
RGB: (82,71,124)
#52477C contains red, green and blue colors in about the same proportion. Web safe color of #52477C is #663366 (or #636).
#52477C color RGB value is (82,71,124).
RGB: (82,71,124) (32%,28%,49%)
R 82 of 255 = 32%
G 71 of 255 = 28%
B 124 of 255 = 49%
R + G + B ~ 36%. #52477C is quite dark color.
R + G + B =
82 + 71 + 124 = 277 (100%)
R 82 of 277 ~ 29.6%
G 71 of 277 ~ 25.63%
B 124 of 277 ~ 44.77%
#52477C color CMYK value is (34,43,0,51).
CMYK: (34,43,0,51) C34M43Y0K51 (34%,43%,0%,51%) (0.34/0.43/0.00/0.51)
52 | 47 | 7C | |
---|---|---|---|
RGB | 82 | 71 | 124 |
HSL | 252° | 27.18% | 38.24% |
HSB/HSV | 252° | 42.74% | 48.63% |
CMYK | 33.87% | 42.74% | 0.00% |
51.37% |
HEX | 52 | 47 | 7C |
Decimal | 82 | 71 | 124 |
Binary | 1010010 | 1000111 | 1111100 |
Octal | 122 | 107 | 174 |
Examples of css and html codes for elements with #52477C color. Also use rgb(82,71,124) instead hex code.
.myTextColor { color: #52477C; }
<p style="color:#52477C">This sample text font color is #52477C.</p>
This text font color is #52477C.
.myBgColor { background-color: #52477C; }
<div style="background-color:#52477C">Inner text</div>
This div background color is #52477C.
.myBorderColor { border: 1px solid #52477C; }
<div style="border:3px solid #52477C">Div</div>
This div border color is #52477C.
.myOpacity80 { color: #52477C; opacity: 0.8; }
<p style="color:#52477C;opacity:0.8;">80%</p>
Text with #52477C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52477C;}
<p style="text-shadow: 3px 3px 1px #52477C">Text here.</p>
This text has shadow with #52477C color.
.textShadow {text-shadow: 3px 3px 1px #52477C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52477C, 5px 5px 20px red">Text here.</p>
This text has shadow with #52477C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52477C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52477C, Direction=45, Strength=4)">Text</p>
This text has shadow with #52477C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52477C; -webkit-box-shadow: 1px 1px 3px 2px #52477C; box-shadow: 1px 1px 3px 2px #52477C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52477C; -webkit-box-shadow: 1px 1px 3px 2px #52477C; box-shadow:1px 1px 3px 2px #52477C;">
Div content here</div>
This text has color #52477C on black background.
This text has color #52477C on white background.
This text has black color on #52477C background.
This text has white color on #52477C background.