HEX: #57478B
RGB: (87,71,139)
#57478B contains mainly red and blue colors. Web safe color of #57478B is #663399 (or #639).
#57478B color RGB value is (87,71,139).
RGB: (87,71,139) (34%,28%,55%)
R 87 of 255 = 34%
G 71 of 255 = 28%
B 139 of 255 = 55%
R + G + B ~ 39%. #57478B is quite dark color.
R + G + B =
87 + 71 + 139 = 297 (100%)
R 87 of 297 ~ 29.29%
G 71 of 297 ~ 23.91%
B 139 of 297 ~ 46.8%
#57478B color CMYK value is (37,49,0,45).
CMYK: (37,49,0,45) C37M49Y0K45 (37%,49%,0%,45%) (0.37/0.49/0.00/0.45)
57 | 47 | 8B | |
---|---|---|---|
RGB | 87 | 71 | 139 |
HSL | 254° | 32.38% | 41.18% |
HSB/HSV | 254° | 48.92% | 54.51% |
CMYK | 37.41% | 48.92% | 0.00% |
45.49% |
HEX | 57 | 47 | 8B |
Decimal | 87 | 71 | 139 |
Binary | 1010111 | 1000111 | 10001011 |
Octal | 127 | 107 | 213 |
Examples of css and html codes for elements with #57478B color. Also use rgb(87,71,139) instead hex code.
.myTextColor { color: #57478B; }
<p style="color:#57478B">This sample text font color is #57478B.</p>
This text font color is #57478B.
.myBgColor { background-color: #57478B; }
<div style="background-color:#57478B">Inner text</div>
This div background color is #57478B.
.myBorderColor { border: 1px solid #57478B; }
<div style="border:3px solid #57478B">Div</div>
This div border color is #57478B.
.myOpacity80 { color: #57478B; opacity: 0.8; }
<p style="color:#57478B;opacity:0.8;">80%</p>
Text with #57478B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #57478B;}
<p style="text-shadow: 3px 3px 1px #57478B">Text here.</p>
This text has shadow with #57478B color.
.textShadow {text-shadow: 3px 3px 1px #57478B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #57478B, 5px 5px 20px red">Text here.</p>
This text has shadow with #57478B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#57478B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#57478B, Direction=45, Strength=4)">Text</p>
This text has shadow with #57478B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #57478B; -webkit-box-shadow: 1px 1px 3px 2px #57478B; box-shadow: 1px 1px 3px 2px #57478B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #57478B; -webkit-box-shadow: 1px 1px 3px 2px #57478B; box-shadow:1px 1px 3px 2px #57478B;">
Div content here</div>
This text has color #57478B on black background.
This text has color #57478B on white background.
This text has black color on #57478B background.
This text has white color on #57478B background.