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