HEX: #52486B
RGB: (82,72,107)
#52486B contains red, green and blue colors in about the same proportion. Web safe color of #52486B is #663366 (or #636).
#52486B color RGB value is (82,72,107).
RGB: (82,72,107) (32%,28%,42%)
R 82 of 255 = 32%
G 72 of 255 = 28%
B 107 of 255 = 42%
R + G + B ~ 34%. #52486B is quite dark color.
R + G + B =
82 + 72 + 107 = 261 (100%)
R 82 of 261 ~ 31.42%
G 72 of 261 ~ 27.59%
B 107 of 261 ~ 41%
#52486B color CMYK value is (23,33,0,58).
CMYK: (23,33,0,58) C23M33Y0K58 (23%,33%,0%,58%) (0.23/0.33/0.00/0.58)
52 | 48 | 6B | |
---|---|---|---|
RGB | 82 | 72 | 107 |
HSL | 257° | 19.55% | 35.10% |
HSB/HSV | 257° | 32.71% | 41.96% |
CMYK | 23.36% | 32.71% | 0.00% |
58.04% |
HEX | 52 | 48 | 6B |
Decimal | 82 | 72 | 107 |
Binary | 1010010 | 1001000 | 1101011 |
Octal | 122 | 110 | 153 |
Examples of css and html codes for elements with #52486B color. Also use rgb(82,72,107) instead hex code.
.myTextColor { color: #52486B; }
<p style="color:#52486B">This sample text font color is #52486B.</p>
This text font color is #52486B.
.myBgColor { background-color: #52486B; }
<div style="background-color:#52486B">Inner text</div>
This div background color is #52486B.
.myBorderColor { border: 1px solid #52486B; }
<div style="border:3px solid #52486B">Div</div>
This div border color is #52486B.
.myOpacity80 { color: #52486B; opacity: 0.8; }
<p style="color:#52486B;opacity:0.8;">80%</p>
Text with #52486B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52486B;}
<p style="text-shadow: 3px 3px 1px #52486B">Text here.</p>
This text has shadow with #52486B color.
.textShadow {text-shadow: 3px 3px 1px #52486B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52486B, 5px 5px 20px red">Text here.</p>
This text has shadow with #52486B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52486B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52486B, Direction=45, Strength=4)">Text</p>
This text has shadow with #52486B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52486B; -webkit-box-shadow: 1px 1px 3px 2px #52486B; box-shadow: 1px 1px 3px 2px #52486B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52486B; -webkit-box-shadow: 1px 1px 3px 2px #52486B; box-shadow:1px 1px 3px 2px #52486B;">
Div content here</div>
This text has color #52486B on black background.
This text has color #52486B on white background.
This text has black color on #52486B background.
This text has white color on #52486B background.