HEX: #525C8D
RGB: (82,92,141)
#525C8D contains red, green and blue colors in about the same proportion. Web safe color of #525C8D is #666699 (or #669).
#525C8D color RGB value is (82,92,141).
RGB: (82,92,141) (32%,36%,55%)
R 82 of 255 = 32%
G 92 of 255 = 36%
B 141 of 255 = 55%
R + G + B ~ 41%. #525C8D is middle color (not dark and not light).
R + G + B =
82 + 92 + 141 = 315 (100%)
R 82 of 315 ~ 26.03%
G 92 of 315 ~ 29.21%
B 141 of 315 ~ 44.76%
#525C8D color CMYK value is (42,35,0,45).
CMYK: (42,35,0,45) C42M35Y0K45 (42%,35%,0%,45%) (0.42/0.35/0.00/0.45)
52 | 5C | 8D | |
---|---|---|---|
RGB | 82 | 92 | 141 |
HSL | 230° | 26.46% | 43.73% |
HSB/HSV | 230° | 41.84% | 55.29% |
CMYK | 41.84% | 34.75% | 0.00% |
44.71% |
HEX | 52 | 5C | 8D |
Decimal | 82 | 92 | 141 |
Binary | 1010010 | 1011100 | 10001101 |
Octal | 122 | 134 | 215 |
Examples of css and html codes for elements with #525C8D color. Also use rgb(82,92,141) instead hex code.
.myTextColor { color: #525C8D; }
<p style="color:#525C8D">This sample text font color is #525C8D.</p>
This text font color is #525C8D.
.myBgColor { background-color: #525C8D; }
<div style="background-color:#525C8D">Inner text</div>
This div background color is #525C8D.
.myBorderColor { border: 1px solid #525C8D; }
<div style="border:3px solid #525C8D">Div</div>
This div border color is #525C8D.
.myOpacity80 { color: #525C8D; opacity: 0.8; }
<p style="color:#525C8D;opacity:0.8;">80%</p>
Text with #525C8D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #525C8D;}
<p style="text-shadow: 3px 3px 1px #525C8D">Text here.</p>
This text has shadow with #525C8D color.
.textShadow {text-shadow: 3px 3px 1px #525C8D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #525C8D, 5px 5px 20px red">Text here.</p>
This text has shadow with #525C8D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#525C8D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#525C8D, Direction=45, Strength=4)">Text</p>
This text has shadow with #525C8D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #525C8D; -webkit-box-shadow: 1px 1px 3px 2px #525C8D; box-shadow: 1px 1px 3px 2px #525C8D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #525C8D; -webkit-box-shadow: 1px 1px 3px 2px #525C8D; box-shadow:1px 1px 3px 2px #525C8D;">
Div content here</div>
This text has color #525C8D on black background.
This text has color #525C8D on white background.
This text has black color on #525C8D background.
This text has white color on #525C8D background.