HEX: #5197BB
RGB: (81,151,187)
#5197BB contains mainly green and blue colors. Web safe color of #5197BB is #6699CC (or #69C).
#5197BB color RGB value is (81,151,187).
RGB: (81,151,187) (32%,59%,73%)
R 81 of 255 = 32%
G 151 of 255 = 59%
B 187 of 255 = 73%
R + G + B ~ 55%. #5197BB is middle color (not dark and not light).
R + G + B =
81 + 151 + 187 = 419 (100%)
R 81 of 419 ~ 19.33%
G 151 of 419 ~ 36.04%
B 187 of 419 ~ 44.63%
#5197BB color CMYK value is (57,19,0,27).
CMYK: (57,19,0,27) C57M19Y0K27 (57%,19%,0%,27%) (0.57/0.19/0.00/0.27)
51 | 97 | BB | |
---|---|---|---|
RGB | 81 | 151 | 187 |
HSL | 200° | 43.80% | 52.55% |
HSB/HSV | 200° | 56.68% | 73.33% |
CMYK | 56.68% | 19.25% | 0.00% |
26.67% |
HEX | 51 | 97 | BB |
Decimal | 81 | 151 | 187 |
Binary | 1010001 | 10010111 | 10111011 |
Octal | 121 | 227 | 273 |
Examples of css and html codes for elements with #5197BB color. Also use rgb(81,151,187) instead hex code.
.myTextColor { color: #5197BB; }
<p style="color:#5197BB">This sample text font color is #5197BB.</p>
This text font color is #5197BB.
.myBgColor { background-color: #5197BB; }
<div style="background-color:#5197BB">Inner text</div>
This div background color is #5197BB.
.myBorderColor { border: 1px solid #5197BB; }
<div style="border:3px solid #5197BB">Div</div>
This div border color is #5197BB.
.myOpacity80 { color: #5197BB; opacity: 0.8; }
<p style="color:#5197BB;opacity:0.8;">80%</p>
Text with #5197BB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5197BB;}
<p style="text-shadow: 3px 3px 1px #5197BB">Text here.</p>
This text has shadow with #5197BB color.
.textShadow {text-shadow: 3px 3px 1px #5197BB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5197BB, 5px 5px 20px red">Text here.</p>
This text has shadow with #5197BB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5197BB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5197BB, Direction=45, Strength=4)">Text</p>
This text has shadow with #5197BB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5197BB; -webkit-box-shadow: 1px 1px 3px 2px #5197BB; box-shadow: 1px 1px 3px 2px #5197BB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5197BB; -webkit-box-shadow: 1px 1px 3px 2px #5197BB; box-shadow:1px 1px 3px 2px #5197BB;">
Div content here</div>
This text has color #5197BB on black background.
This text has color #5197BB on white background.
This text has black color on #5197BB background.
This text has white color on #5197BB background.