HEX: #508CD0
RGB: (80,140,208)
#508CD0 contains mainly blue color. Web safe color of #508CD0 is #6699CC (or #69C).
#508CD0 color RGB value is (80,140,208).
RGB: (80,140,208) (31%,55%,82%)
R 80 of 255 = 31%
G 140 of 255 = 55%
B 208 of 255 = 82%
R + G + B ~ 56%. #508CD0 is middle color (not dark and not light).
R + G + B =
80 + 140 + 208 = 428 (100%)
R 80 of 428 ~ 18.69%
G 140 of 428 ~ 32.71%
B 208 of 428 ~ 48.6%
#508CD0 color CMYK value is (62,33,0,18).
CMYK: (62,33,0,18) C62M33Y0K18 (62%,33%,0%,18%) (0.62/0.33/0.00/0.18)
50 | 8C | D0 | |
---|---|---|---|
RGB | 80 | 140 | 208 |
HSL | 212° | 57.66% | 56.47% |
HSB/HSV | 212° | 61.54% | 81.57% |
CMYK | 61.54% | 32.69% | 0.00% |
18.43% |
HEX | 50 | 8C | D0 |
Decimal | 80 | 140 | 208 |
Binary | 1010000 | 10001100 | 11010000 |
Octal | 120 | 214 | 320 |
Examples of css and html codes for elements with #508CD0 color. Also use rgb(80,140,208) instead hex code.
.myTextColor { color: #508CD0; }
<p style="color:#508CD0">This sample text font color is #508CD0.</p>
This text font color is #508CD0.
.myBgColor { background-color: #508CD0; }
<div style="background-color:#508CD0">Inner text</div>
This div background color is #508CD0.
.myBorderColor { border: 1px solid #508CD0; }
<div style="border:3px solid #508CD0">Div</div>
This div border color is #508CD0.
.myOpacity80 { color: #508CD0; opacity: 0.8; }
<p style="color:#508CD0;opacity:0.8;">80%</p>
Text with #508CD0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #508CD0;}
<p style="text-shadow: 3px 3px 1px #508CD0">Text here.</p>
This text has shadow with #508CD0 color.
.textShadow {text-shadow: 3px 3px 1px #508CD0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #508CD0, 5px 5px 20px red">Text here.</p>
This text has shadow with #508CD0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#508CD0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#508CD0, Direction=45, Strength=4)">Text</p>
This text has shadow with #508CD0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #508CD0; -webkit-box-shadow: 1px 1px 3px 2px #508CD0; box-shadow: 1px 1px 3px 2px #508CD0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #508CD0; -webkit-box-shadow: 1px 1px 3px 2px #508CD0; box-shadow:1px 1px 3px 2px #508CD0;">
Div content here</div>
This text has color #508CD0 on black background.
This text has color #508CD0 on white background.
This text has black color on #508CD0 background.
This text has white color on #508CD0 background.