HEX: #5757AB
RGB: (87,87,171)
#5757AB contains mainly blue color. Web safe color of #5757AB is #666699 (or #669).
#5757AB color RGB value is (87,87,171).
RGB: (87,87,171) (34%,34%,67%)
R 87 of 255 = 34%
G 87 of 255 = 34%
B 171 of 255 = 67%
R + G + B ~ 45%. #5757AB is middle color (not dark and not light).
R + G + B =
87 + 87 + 171 = 345 (100%)
R 87 of 345 ~ 25.22%
G 87 of 345 ~ 25.22%
B 171 of 345 ~ 49.57%
#5757AB color CMYK value is (49,49,0,33).
CMYK: (49,49,0,33) C49M49Y0K33 (49%,49%,0%,33%) (0.49/0.49/0.00/0.33)
57 | 57 | AB | |
---|---|---|---|
RGB | 87 | 87 | 171 |
HSL | 240° | 33.33% | 50.59% |
HSB/HSV | 240° | 49.12% | 67.06% |
CMYK | 49.12% | 49.12% | 0.00% |
32.94% |
HEX | 57 | 57 | AB |
Decimal | 87 | 87 | 171 |
Binary | 1010111 | 1010111 | 10101011 |
Octal | 127 | 127 | 253 |
Examples of css and html codes for elements with #5757AB color. Also use rgb(87,87,171) instead hex code.
.myTextColor { color: #5757AB; }
<p style="color:#5757AB">This sample text font color is #5757AB.</p>
This text font color is #5757AB.
.myBgColor { background-color: #5757AB; }
<div style="background-color:#5757AB">Inner text</div>
This div background color is #5757AB.
.myBorderColor { border: 1px solid #5757AB; }
<div style="border:3px solid #5757AB">Div</div>
This div border color is #5757AB.
.myOpacity80 { color: #5757AB; opacity: 0.8; }
<p style="color:#5757AB;opacity:0.8;">80%</p>
Text with #5757AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5757AB;}
<p style="text-shadow: 3px 3px 1px #5757AB">Text here.</p>
This text has shadow with #5757AB color.
.textShadow {text-shadow: 3px 3px 1px #5757AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5757AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #5757AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5757AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5757AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #5757AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5757AB; -webkit-box-shadow: 1px 1px 3px 2px #5757AB; box-shadow: 1px 1px 3px 2px #5757AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5757AB; -webkit-box-shadow: 1px 1px 3px 2px #5757AB; box-shadow:1px 1px 3px 2px #5757AB;">
Div content here</div>
This text has color #5757AB on black background.
This text has color #5757AB on white background.
This text has black color on #5757AB background.
This text has white color on #5757AB background.