HEX: #55528B
RGB: (85,82,139)
#55528B contains red, green and blue colors in about the same proportion. Web safe color of #55528B is #666699 (or #669).
#55528B color RGB value is (85,82,139).
RGB: (85,82,139) (33%,32%,55%)
R 85 of 255 = 33%
G 82 of 255 = 32%
B 139 of 255 = 55%
R + G + B ~ 40%. #55528B is middle color (not dark and not light).
R + G + B =
85 + 82 + 139 = 306 (100%)
R 85 of 306 ~ 27.78%
G 82 of 306 ~ 26.8%
B 139 of 306 ~ 45.42%
#55528B color CMYK value is (39,41,0,45).
CMYK: (39,41,0,45) C39M41Y0K45 (39%,41%,0%,45%) (0.39/0.41/0.00/0.45)
55 | 52 | 8B | |
---|---|---|---|
RGB | 85 | 82 | 139 |
HSL | 243° | 25.79% | 43.33% |
HSB/HSV | 243° | 41.01% | 54.51% |
CMYK | 38.85% | 41.01% | 0.00% |
45.49% |
HEX | 55 | 52 | 8B |
Decimal | 85 | 82 | 139 |
Binary | 1010101 | 1010010 | 10001011 |
Octal | 125 | 122 | 213 |
Examples of css and html codes for elements with #55528B color. Also use rgb(85,82,139) instead hex code.
.myTextColor { color: #55528B; }
<p style="color:#55528B">This sample text font color is #55528B.</p>
This text font color is #55528B.
.myBgColor { background-color: #55528B; }
<div style="background-color:#55528B">Inner text</div>
This div background color is #55528B.
.myBorderColor { border: 1px solid #55528B; }
<div style="border:3px solid #55528B">Div</div>
This div border color is #55528B.
.myOpacity80 { color: #55528B; opacity: 0.8; }
<p style="color:#55528B;opacity:0.8;">80%</p>
Text with #55528B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #55528B;}
<p style="text-shadow: 3px 3px 1px #55528B">Text here.</p>
This text has shadow with #55528B color.
.textShadow {text-shadow: 3px 3px 1px #55528B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #55528B, 5px 5px 20px red">Text here.</p>
This text has shadow with #55528B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#55528B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#55528B, Direction=45, Strength=4)">Text</p>
This text has shadow with #55528B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #55528B; -webkit-box-shadow: 1px 1px 3px 2px #55528B; box-shadow: 1px 1px 3px 2px #55528B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #55528B; -webkit-box-shadow: 1px 1px 3px 2px #55528B; box-shadow:1px 1px 3px 2px #55528B;">
Div content here</div>
This text has color #55528B on black background.
This text has color #55528B on white background.
This text has black color on #55528B background.
This text has white color on #55528B background.