HEX: #516BBB
RGB: (81,107,187)
#516BBB contains mainly blue color. Web safe color of #516BBB is #6666CC (or #66C).
#516BBB color RGB value is (81,107,187).
RGB: (81,107,187) (32%,42%,73%)
R 81 of 255 = 32%
G 107 of 255 = 42%
B 187 of 255 = 73%
R + G + B ~ 49%. #516BBB is middle color (not dark and not light).
R + G + B =
81 + 107 + 187 = 375 (100%)
R 81 of 375 ~ 21.6%
G 107 of 375 ~ 28.53%
B 187 of 375 ~ 49.87%
#516BBB color CMYK value is (57,43,0,27).
CMYK: (57,43,0,27) C57M43Y0K27 (57%,43%,0%,27%) (0.57/0.43/0.00/0.27)
51 | 6B | BB | |
---|---|---|---|
RGB | 81 | 107 | 187 |
HSL | 225° | 43.80% | 52.55% |
HSB/HSV | 225° | 56.68% | 73.33% |
CMYK | 56.68% | 42.78% | 0.00% |
26.67% |
HEX | 51 | 6B | BB |
Decimal | 81 | 107 | 187 |
Binary | 1010001 | 1101011 | 10111011 |
Octal | 121 | 153 | 273 |
Examples of css and html codes for elements with #516BBB color. Also use rgb(81,107,187) instead hex code.
.myTextColor { color: #516BBB; }
<p style="color:#516BBB">This sample text font color is #516BBB.</p>
This text font color is #516BBB.
.myBgColor { background-color: #516BBB; }
<div style="background-color:#516BBB">Inner text</div>
This div background color is #516BBB.
.myBorderColor { border: 1px solid #516BBB; }
<div style="border:3px solid #516BBB">Div</div>
This div border color is #516BBB.
.myOpacity80 { color: #516BBB; opacity: 0.8; }
<p style="color:#516BBB;opacity:0.8;">80%</p>
Text with #516BBB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516BBB;}
<p style="text-shadow: 3px 3px 1px #516BBB">Text here.</p>
This text has shadow with #516BBB color.
.textShadow {text-shadow: 3px 3px 1px #516BBB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516BBB, 5px 5px 20px red">Text here.</p>
This text has shadow with #516BBB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516BBB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516BBB, Direction=45, Strength=4)">Text</p>
This text has shadow with #516BBB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516BBB; -webkit-box-shadow: 1px 1px 3px 2px #516BBB; box-shadow: 1px 1px 3px 2px #516BBB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516BBB; -webkit-box-shadow: 1px 1px 3px 2px #516BBB; box-shadow:1px 1px 3px 2px #516BBB;">
Div content here</div>
This text has color #516BBB on black background.
This text has color #516BBB on white background.
This text has black color on #516BBB background.
This text has white color on #516BBB background.