HEX: #54558D
RGB: (84,85,141)
#54558D contains red, green and blue colors in about the same proportion. Web safe color of #54558D is #666699 (or #669).
#54558D color RGB value is (84,85,141).
RGB: (84,85,141) (33%,33%,55%)
R 84 of 255 = 33%
G 85 of 255 = 33%
B 141 of 255 = 55%
R + G + B ~ 40%. #54558D is middle color (not dark and not light).
R + G + B =
84 + 85 + 141 = 310 (100%)
R 84 of 310 ~ 27.1%
G 85 of 310 ~ 27.42%
B 141 of 310 ~ 45.48%
#54558D color CMYK value is (40,40,0,45).
CMYK: (40,40,0,45) C40M40Y0K45 (40%,40%,0%,45%) (0.40/0.40/0.00/0.45)
54 | 55 | 8D | |
---|---|---|---|
RGB | 84 | 85 | 141 |
HSL | 239° | 25.33% | 44.12% |
HSB/HSV | 239° | 40.43% | 55.29% |
CMYK | 40.43% | 39.72% | 0.00% |
44.71% |
HEX | 54 | 55 | 8D |
Decimal | 84 | 85 | 141 |
Binary | 1010100 | 1010101 | 10001101 |
Octal | 124 | 125 | 215 |
Examples of css and html codes for elements with #54558D color. Also use rgb(84,85,141) instead hex code.
.myTextColor { color: #54558D; }
<p style="color:#54558D">This sample text font color is #54558D.</p>
This text font color is #54558D.
.myBgColor { background-color: #54558D; }
<div style="background-color:#54558D">Inner text</div>
This div background color is #54558D.
.myBorderColor { border: 1px solid #54558D; }
<div style="border:3px solid #54558D">Div</div>
This div border color is #54558D.
.myOpacity80 { color: #54558D; opacity: 0.8; }
<p style="color:#54558D;opacity:0.8;">80%</p>
Text with #54558D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #54558D;}
<p style="text-shadow: 3px 3px 1px #54558D">Text here.</p>
This text has shadow with #54558D color.
.textShadow {text-shadow: 3px 3px 1px #54558D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #54558D, 5px 5px 20px red">Text here.</p>
This text has shadow with #54558D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#54558D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#54558D, Direction=45, Strength=4)">Text</p>
This text has shadow with #54558D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #54558D; -webkit-box-shadow: 1px 1px 3px 2px #54558D; box-shadow: 1px 1px 3px 2px #54558D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #54558D; -webkit-box-shadow: 1px 1px 3px 2px #54558D; box-shadow:1px 1px 3px 2px #54558D;">
Div content here</div>
This text has color #54558D on black background.
This text has color #54558D on white background.
This text has black color on #54558D background.
This text has white color on #54558D background.