HEX: #52479E
RGB: (82,71,158)
#52479E contains mainly blue color. Web safe color of #52479E is #663399 (or #639).
#52479E color RGB value is (82,71,158).
RGB: (82,71,158) (32%,28%,62%)
R 82 of 255 = 32%
G 71 of 255 = 28%
B 158 of 255 = 62%
R + G + B ~ 41%. #52479E is middle color (not dark and not light).
R + G + B =
82 + 71 + 158 = 311 (100%)
R 82 of 311 ~ 26.37%
G 71 of 311 ~ 22.83%
B 158 of 311 ~ 50.8%
#52479E color CMYK value is (48,55,0,38).
CMYK: (48,55,0,38) C48M55Y0K38 (48%,55%,0%,38%) (0.48/0.55/0.00/0.38)
52 | 47 | 9E | |
---|---|---|---|
RGB | 82 | 71 | 158 |
HSL | 248° | 37.99% | 44.90% |
HSB/HSV | 248° | 55.06% | 61.96% |
CMYK | 48.10% | 55.06% | 0.00% |
38.04% |
HEX | 52 | 47 | 9E |
Decimal | 82 | 71 | 158 |
Binary | 1010010 | 1000111 | 10011110 |
Octal | 122 | 107 | 236 |
Examples of css and html codes for elements with #52479E color. Also use rgb(82,71,158) instead hex code.
.myTextColor { color: #52479E; }
<p style="color:#52479E">This sample text font color is #52479E.</p>
This text font color is #52479E.
.myBgColor { background-color: #52479E; }
<div style="background-color:#52479E">Inner text</div>
This div background color is #52479E.
.myBorderColor { border: 1px solid #52479E; }
<div style="border:3px solid #52479E">Div</div>
This div border color is #52479E.
.myOpacity80 { color: #52479E; opacity: 0.8; }
<p style="color:#52479E;opacity:0.8;">80%</p>
Text with #52479E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52479E;}
<p style="text-shadow: 3px 3px 1px #52479E">Text here.</p>
This text has shadow with #52479E color.
.textShadow {text-shadow: 3px 3px 1px #52479E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52479E, 5px 5px 20px red">Text here.</p>
This text has shadow with #52479E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52479E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52479E, Direction=45, Strength=4)">Text</p>
This text has shadow with #52479E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52479E; -webkit-box-shadow: 1px 1px 3px 2px #52479E; box-shadow: 1px 1px 3px 2px #52479E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52479E; -webkit-box-shadow: 1px 1px 3px 2px #52479E; box-shadow:1px 1px 3px 2px #52479E;">
Div content here</div>
This text has color #52479E on black background.
This text has color #52479E on white background.
This text has black color on #52479E background.
This text has white color on #52479E background.