HEX: #52498A
RGB: (82,73,138)
#52498A contains mainly red and blue colors. Web safe color of #52498A is #663399 (or #639).
#52498A color RGB value is (82,73,138).
RGB: (82,73,138) (32%,29%,54%)
R 82 of 255 = 32%
G 73 of 255 = 29%
B 138 of 255 = 54%
R + G + B ~ 38%. #52498A is quite dark color.
R + G + B =
82 + 73 + 138 = 293 (100%)
R 82 of 293 ~ 27.99%
G 73 of 293 ~ 24.91%
B 138 of 293 ~ 47.1%
#52498A color CMYK value is (41,47,0,46).
CMYK: (41,47,0,46) C41M47Y0K46 (41%,47%,0%,46%) (0.41/0.47/0.00/0.46)
52 | 49 | 8A | |
---|---|---|---|
RGB | 82 | 73 | 138 |
HSL | 248° | 30.81% | 41.37% |
HSB/HSV | 248° | 47.10% | 54.12% |
CMYK | 40.58% | 47.10% | 0.00% |
45.88% |
HEX | 52 | 49 | 8A |
Decimal | 82 | 73 | 138 |
Binary | 1010010 | 1001001 | 10001010 |
Octal | 122 | 111 | 212 |
Examples of css and html codes for elements with #52498A color. Also use rgb(82,73,138) instead hex code.
.myTextColor { color: #52498A; }
<p style="color:#52498A">This sample text font color is #52498A.</p>
This text font color is #52498A.
.myBgColor { background-color: #52498A; }
<div style="background-color:#52498A">Inner text</div>
This div background color is #52498A.
.myBorderColor { border: 1px solid #52498A; }
<div style="border:3px solid #52498A">Div</div>
This div border color is #52498A.
.myOpacity80 { color: #52498A; opacity: 0.8; }
<p style="color:#52498A;opacity:0.8;">80%</p>
Text with #52498A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52498A;}
<p style="text-shadow: 3px 3px 1px #52498A">Text here.</p>
This text has shadow with #52498A color.
.textShadow {text-shadow: 3px 3px 1px #52498A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52498A, 5px 5px 20px red">Text here.</p>
This text has shadow with #52498A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52498A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52498A, Direction=45, Strength=4)">Text</p>
This text has shadow with #52498A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52498A; -webkit-box-shadow: 1px 1px 3px 2px #52498A; box-shadow: 1px 1px 3px 2px #52498A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52498A; -webkit-box-shadow: 1px 1px 3px 2px #52498A; box-shadow:1px 1px 3px 2px #52498A;">
Div content here</div>
This text has color #52498A on black background.
This text has color #52498A on white background.
This text has black color on #52498A background.
This text has white color on #52498A background.