HEX: #515588
RGB: (81,85,136)
#515588 contains red, green and blue colors in about the same proportion. Web safe color of #515588 is #666699 (or #669).
#515588 color RGB value is (81,85,136).
RGB: (81,85,136) (32%,33%,53%)
R 81 of 255 = 32%
G 85 of 255 = 33%
B 136 of 255 = 53%
R + G + B ~ 39%. #515588 is quite dark color.
R + G + B =
81 + 85 + 136 = 302 (100%)
R 81 of 302 ~ 26.82%
G 85 of 302 ~ 28.15%
B 136 of 302 ~ 45.03%
#515588 color CMYK value is (40,38,0,47).
CMYK: (40,38,0,47) C40M38Y0K47 (40%,38%,0%,47%) (0.40/0.38/0.00/0.47)
51 | 55 | 88 | |
---|---|---|---|
RGB | 81 | 85 | 136 |
HSL | 236° | 25.35% | 42.55% |
HSB/HSV | 236° | 40.44% | 53.33% |
CMYK | 40.44% | 37.50% | 0.00% |
46.67% |
HEX | 51 | 55 | 88 |
Decimal | 81 | 85 | 136 |
Binary | 1010001 | 1010101 | 10001000 |
Octal | 121 | 125 | 210 |
Examples of css and html codes for elements with #515588 color. Also use rgb(81,85,136) instead hex code.
.myTextColor { color: #515588; }
<p style="color:#515588">This sample text font color is #515588.</p>
This text font color is #515588.
.myBgColor { background-color: #515588; }
<div style="background-color:#515588">Inner text</div>
This div background color is #515588.
.myBorderColor { border: 1px solid #515588; }
<div style="border:3px solid #515588">Div</div>
This div border color is #515588.
.myOpacity80 { color: #515588; opacity: 0.8; }
<p style="color:#515588;opacity:0.8;">80%</p>
Text with #515588 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #515588;}
<p style="text-shadow: 3px 3px 1px #515588">Text here.</p>
This text has shadow with #515588 color.
.textShadow {text-shadow: 3px 3px 1px #515588, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #515588, 5px 5px 20px red">Text here.</p>
This text has shadow with #515588 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#515588, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#515588, Direction=45, Strength=4)">Text</p>
This text has shadow with #515588 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #515588; -webkit-box-shadow: 1px 1px 3px 2px #515588; box-shadow: 1px 1px 3px 2px #515588; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #515588; -webkit-box-shadow: 1px 1px 3px 2px #515588; box-shadow:1px 1px 3px 2px #515588;">
Div content here</div>
This text has color #515588 on black background.
This text has color #515588 on white background.
This text has black color on #515588 background.
This text has white color on #515588 background.