HEX: #52477B
RGB: (82,71,123)
#52477B contains red, green and blue colors in about the same proportion. Web safe color of #52477B is #663366 (or #636).
#52477B color RGB value is (82,71,123).
RGB: (82,71,123) (32%,28%,48%)
R 82 of 255 = 32%
G 71 of 255 = 28%
B 123 of 255 = 48%
R + G + B ~ 36%. #52477B is quite dark color.
R + G + B =
82 + 71 + 123 = 276 (100%)
R 82 of 276 ~ 29.71%
G 71 of 276 ~ 25.72%
B 123 of 276 ~ 44.57%
#52477B color CMYK value is (33,42,0,52).
CMYK: (33,42,0,52) C33M42Y0K52 (33%,42%,0%,52%) (0.33/0.42/0.00/0.52)
52 | 47 | 7B | |
---|---|---|---|
RGB | 82 | 71 | 123 |
HSL | 253° | 26.80% | 38.04% |
HSB/HSV | 253° | 42.28% | 48.24% |
CMYK | 33.33% | 42.28% | 0.00% |
51.76% |
HEX | 52 | 47 | 7B |
Decimal | 82 | 71 | 123 |
Binary | 1010010 | 1000111 | 1111011 |
Octal | 122 | 107 | 173 |
Examples of css and html codes for elements with #52477B color. Also use rgb(82,71,123) instead hex code.
.myTextColor { color: #52477B; }
<p style="color:#52477B">This sample text font color is #52477B.</p>
This text font color is #52477B.
.myBgColor { background-color: #52477B; }
<div style="background-color:#52477B">Inner text</div>
This div background color is #52477B.
.myBorderColor { border: 1px solid #52477B; }
<div style="border:3px solid #52477B">Div</div>
This div border color is #52477B.
.myOpacity80 { color: #52477B; opacity: 0.8; }
<p style="color:#52477B;opacity:0.8;">80%</p>
Text with #52477B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52477B;}
<p style="text-shadow: 3px 3px 1px #52477B">Text here.</p>
This text has shadow with #52477B color.
.textShadow {text-shadow: 3px 3px 1px #52477B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52477B, 5px 5px 20px red">Text here.</p>
This text has shadow with #52477B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52477B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52477B, Direction=45, Strength=4)">Text</p>
This text has shadow with #52477B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52477B; -webkit-box-shadow: 1px 1px 3px 2px #52477B; box-shadow: 1px 1px 3px 2px #52477B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52477B; -webkit-box-shadow: 1px 1px 3px 2px #52477B; box-shadow:1px 1px 3px 2px #52477B;">
Div content here</div>
This text has color #52477B on black background.
This text has color #52477B on white background.
This text has black color on #52477B background.
This text has white color on #52477B background.