HEX: #54498B
RGB: (84,73,139)
#54498B contains mainly red and blue colors. Web safe color of #54498B is #663399 (or #639).
#54498B color RGB value is (84,73,139).
RGB: (84,73,139) (33%,29%,55%)
R 84 of 255 = 33%
G 73 of 255 = 29%
B 139 of 255 = 55%
R + G + B ~ 39%. #54498B is quite dark color.
R + G + B =
84 + 73 + 139 = 296 (100%)
R 84 of 296 ~ 28.38%
G 73 of 296 ~ 24.66%
B 139 of 296 ~ 46.96%
#54498B color CMYK value is (40,47,0,45).
CMYK: (40,47,0,45) C40M47Y0K45 (40%,47%,0%,45%) (0.40/0.47/0.00/0.45)
54 | 49 | 8B | |
---|---|---|---|
RGB | 84 | 73 | 139 |
HSL | 250° | 31.13% | 41.57% |
HSB/HSV | 250° | 47.48% | 54.51% |
CMYK | 39.57% | 47.48% | 0.00% |
45.49% |
HEX | 54 | 49 | 8B |
Decimal | 84 | 73 | 139 |
Binary | 1010100 | 1001001 | 10001011 |
Octal | 124 | 111 | 213 |
Examples of css and html codes for elements with #54498B color. Also use rgb(84,73,139) instead hex code.
.myTextColor { color: #54498B; }
<p style="color:#54498B">This sample text font color is #54498B.</p>
This text font color is #54498B.
.myBgColor { background-color: #54498B; }
<div style="background-color:#54498B">Inner text</div>
This div background color is #54498B.
.myBorderColor { border: 1px solid #54498B; }
<div style="border:3px solid #54498B">Div</div>
This div border color is #54498B.
.myOpacity80 { color: #54498B; opacity: 0.8; }
<p style="color:#54498B;opacity:0.8;">80%</p>
Text with #54498B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #54498B;}
<p style="text-shadow: 3px 3px 1px #54498B">Text here.</p>
This text has shadow with #54498B color.
.textShadow {text-shadow: 3px 3px 1px #54498B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #54498B, 5px 5px 20px red">Text here.</p>
This text has shadow with #54498B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#54498B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#54498B, Direction=45, Strength=4)">Text</p>
This text has shadow with #54498B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #54498B; -webkit-box-shadow: 1px 1px 3px 2px #54498B; box-shadow: 1px 1px 3px 2px #54498B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #54498B; -webkit-box-shadow: 1px 1px 3px 2px #54498B; box-shadow:1px 1px 3px 2px #54498B;">
Div content here</div>
This text has color #54498B on black background.
This text has color #54498B on white background.
This text has black color on #54498B background.
This text has white color on #54498B background.