HEX: #54758B
RGB: (84,117,139)
#54758B contains red, green and blue colors in about the same proportion. Web safe color of #54758B is #666699 (or #669).
#54758B color RGB value is (84,117,139).
RGB: (84,117,139) (33%,46%,55%)
R 84 of 255 = 33%
G 117 of 255 = 46%
B 139 of 255 = 55%
R + G + B ~ 45%. #54758B is middle color (not dark and not light).
R + G + B =
84 + 117 + 139 = 340 (100%)
R 84 of 340 ~ 24.71%
G 117 of 340 ~ 34.41%
B 139 of 340 ~ 40.88%
#54758B color CMYK value is (40,16,0,45).
CMYK: (40,16,0,45) C40M16Y0K45 (40%,16%,0%,45%) (0.40/0.16/0.00/0.45)
54 | 75 | 8B | |
---|---|---|---|
RGB | 84 | 117 | 139 |
HSL | 204° | 24.66% | 43.73% |
HSB/HSV | 204° | 39.57% | 54.51% |
CMYK | 39.57% | 15.83% | 0.00% |
45.49% |
HEX | 54 | 75 | 8B |
Decimal | 84 | 117 | 139 |
Binary | 1010100 | 1110101 | 10001011 |
Octal | 124 | 165 | 213 |
Examples of css and html codes for elements with #54758B color. Also use rgb(84,117,139) instead hex code.
.myTextColor { color: #54758B; }
<p style="color:#54758B">This sample text font color is #54758B.</p>
This text font color is #54758B.
.myBgColor { background-color: #54758B; }
<div style="background-color:#54758B">Inner text</div>
This div background color is #54758B.
.myBorderColor { border: 1px solid #54758B; }
<div style="border:3px solid #54758B">Div</div>
This div border color is #54758B.
.myOpacity80 { color: #54758B; opacity: 0.8; }
<p style="color:#54758B;opacity:0.8;">80%</p>
Text with #54758B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #54758B;}
<p style="text-shadow: 3px 3px 1px #54758B">Text here.</p>
This text has shadow with #54758B color.
.textShadow {text-shadow: 3px 3px 1px #54758B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #54758B, 5px 5px 20px red">Text here.</p>
This text has shadow with #54758B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#54758B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#54758B, Direction=45, Strength=4)">Text</p>
This text has shadow with #54758B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #54758B; -webkit-box-shadow: 1px 1px 3px 2px #54758B; box-shadow: 1px 1px 3px 2px #54758B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #54758B; -webkit-box-shadow: 1px 1px 3px 2px #54758B; box-shadow:1px 1px 3px 2px #54758B;">
Div content here</div>
This text has color #54758B on black background.
This text has color #54758B on white background.
This text has black color on #54758B background.
This text has white color on #54758B background.