HEX: #5754CC
RGB: (87,84,204)
#5754CC contains mainly blue color. Web safe color of #5754CC is #6666CC (or #66C).
#5754CC color RGB value is (87,84,204).
RGB: (87,84,204) (34%,33%,80%)
R 87 of 255 = 34%
G 84 of 255 = 33%
B 204 of 255 = 80%
R + G + B ~ 49%. #5754CC is middle color (not dark and not light).
R + G + B =
87 + 84 + 204 = 375 (100%)
R 87 of 375 ~ 23.2%
G 84 of 375 ~ 22.4%
B 204 of 375 ~ 54.4%
#5754CC color CMYK value is (57,59,0,20).
CMYK: (57,59,0,20) C57M59Y0K20 (57%,59%,0%,20%) (0.57/0.59/0.00/0.20)
57 | 54 | CC | |
---|---|---|---|
RGB | 87 | 84 | 204 |
HSL | 242° | 54.05% | 56.47% |
HSB/HSV | 242° | 58.82% | 80.00% |
CMYK | 57.35% | 58.82% | 0.00% |
20.00% |
HEX | 57 | 54 | CC |
Decimal | 87 | 84 | 204 |
Binary | 1010111 | 1010100 | 11001100 |
Octal | 127 | 124 | 314 |
Examples of css and html codes for elements with #5754CC color. Also use rgb(87,84,204) instead hex code.
.myTextColor { color: #5754CC; }
<p style="color:#5754CC">This sample text font color is #5754CC.</p>
This text font color is #5754CC.
.myBgColor { background-color: #5754CC; }
<div style="background-color:#5754CC">Inner text</div>
This div background color is #5754CC.
.myBorderColor { border: 1px solid #5754CC; }
<div style="border:3px solid #5754CC">Div</div>
This div border color is #5754CC.
.myOpacity80 { color: #5754CC; opacity: 0.8; }
<p style="color:#5754CC;opacity:0.8;">80%</p>
Text with #5754CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5754CC;}
<p style="text-shadow: 3px 3px 1px #5754CC">Text here.</p>
This text has shadow with #5754CC color.
.textShadow {text-shadow: 3px 3px 1px #5754CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5754CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #5754CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5754CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5754CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #5754CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5754CC; -webkit-box-shadow: 1px 1px 3px 2px #5754CC; box-shadow: 1px 1px 3px 2px #5754CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5754CC; -webkit-box-shadow: 1px 1px 3px 2px #5754CC; box-shadow:1px 1px 3px 2px #5754CC;">
Div content here</div>
This text has color #5754CC on black background.
This text has color #5754CC on white background.
This text has black color on #5754CC background.
This text has white color on #5754CC background.