HEX: #508BCB
RGB: (80,139,203)
#508BCB contains mainly blue color. Web safe color of #508BCB is #6699CC (or #69C).
#508BCB color RGB value is (80,139,203).
RGB: (80,139,203) (31%,55%,80%)
R 80 of 255 = 31%
G 139 of 255 = 55%
B 203 of 255 = 80%
R + G + B ~ 55%. #508BCB is middle color (not dark and not light).
R + G + B =
80 + 139 + 203 = 422 (100%)
R 80 of 422 ~ 18.96%
G 139 of 422 ~ 32.94%
B 203 of 422 ~ 48.1%
#508BCB color CMYK value is (61,32,0,20).
CMYK: (61,32,0,20) C61M32Y0K20 (61%,32%,0%,20%) (0.61/0.32/0.00/0.20)
50 | 8B | CB | |
---|---|---|---|
RGB | 80 | 139 | 203 |
HSL | 211° | 54.19% | 55.49% |
HSB/HSV | 211° | 60.59% | 79.61% |
CMYK | 60.59% | 31.53% | 0.00% |
20.39% |
HEX | 50 | 8B | CB |
Decimal | 80 | 139 | 203 |
Binary | 1010000 | 10001011 | 11001011 |
Octal | 120 | 213 | 313 |
Examples of css and html codes for elements with #508BCB color. Also use rgb(80,139,203) instead hex code.
.myTextColor { color: #508BCB; }
<p style="color:#508BCB">This sample text font color is #508BCB.</p>
This text font color is #508BCB.
.myBgColor { background-color: #508BCB; }
<div style="background-color:#508BCB">Inner text</div>
This div background color is #508BCB.
.myBorderColor { border: 1px solid #508BCB; }
<div style="border:3px solid #508BCB">Div</div>
This div border color is #508BCB.
.myOpacity80 { color: #508BCB; opacity: 0.8; }
<p style="color:#508BCB;opacity:0.8;">80%</p>
Text with #508BCB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #508BCB;}
<p style="text-shadow: 3px 3px 1px #508BCB">Text here.</p>
This text has shadow with #508BCB color.
.textShadow {text-shadow: 3px 3px 1px #508BCB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #508BCB, 5px 5px 20px red">Text here.</p>
This text has shadow with #508BCB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#508BCB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#508BCB, Direction=45, Strength=4)">Text</p>
This text has shadow with #508BCB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #508BCB; -webkit-box-shadow: 1px 1px 3px 2px #508BCB; box-shadow: 1px 1px 3px 2px #508BCB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #508BCB; -webkit-box-shadow: 1px 1px 3px 2px #508BCB; box-shadow:1px 1px 3px 2px #508BCB;">
Div content here</div>
This text has color #508BCB on black background.
This text has color #508BCB on white background.
This text has black color on #508BCB background.
This text has white color on #508BCB background.