HEX: #509CE8
RGB: (80,156,232)
#509CE8 contains mainly blue color. Web safe color of #509CE8 is #6699FF (or #69F).
#509CE8 color RGB value is (80,156,232).
RGB: (80,156,232) (31%,61%,91%)
R 80 of 255 = 31%
G 156 of 255 = 61%
B 232 of 255 = 91%
R + G + B ~ 61%. #509CE8 is quite light color.
R + G + B =
80 + 156 + 232 = 468 (100%)
R 80 of 468 ~ 17.09%
G 156 of 468 ~ 33.33%
B 232 of 468 ~ 49.57%
#509CE8 color CMYK value is (66,33,0,9).
CMYK: (66,33,0,9) C66M33Y0K9 (66%,33%,0%,9%) (0.66/0.33/0.00/0.09)
50 | 9C | E8 | |
---|---|---|---|
RGB | 80 | 156 | 232 |
HSL | 210° | 76.77% | 61.18% |
HSB/HSV | 210° | 65.52% | 90.98% |
CMYK | 65.52% | 32.76% | 0.00% |
9.02% |
HEX | 50 | 9C | E8 |
Decimal | 80 | 156 | 232 |
Binary | 1010000 | 10011100 | 11101000 |
Octal | 120 | 234 | 350 |
Examples of css and html codes for elements with #509CE8 color. Also use rgb(80,156,232) instead hex code.
.myTextColor { color: #509CE8; }
<p style="color:#509CE8">This sample text font color is #509CE8.</p>
This text font color is #509CE8.
.myBgColor { background-color: #509CE8; }
<div style="background-color:#509CE8">Inner text</div>
This div background color is #509CE8.
.myBorderColor { border: 1px solid #509CE8; }
<div style="border:3px solid #509CE8">Div</div>
This div border color is #509CE8.
.myOpacity80 { color: #509CE8; opacity: 0.8; }
<p style="color:#509CE8;opacity:0.8;">80%</p>
Text with #509CE8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509CE8;}
<p style="text-shadow: 3px 3px 1px #509CE8">Text here.</p>
This text has shadow with #509CE8 color.
.textShadow {text-shadow: 3px 3px 1px #509CE8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509CE8, 5px 5px 20px red">Text here.</p>
This text has shadow with #509CE8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509CE8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509CE8, Direction=45, Strength=4)">Text</p>
This text has shadow with #509CE8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509CE8; -webkit-box-shadow: 1px 1px 3px 2px #509CE8; box-shadow: 1px 1px 3px 2px #509CE8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509CE8; -webkit-box-shadow: 1px 1px 3px 2px #509CE8; box-shadow:1px 1px 3px 2px #509CE8;">
Div content here</div>
This text has color #509CE8 on black background.
This text has color #509CE8 on white background.
This text has black color on #509CE8 background.
This text has white color on #509CE8 background.