HEX: #8EB4DC
RGB: (142,180,220)
#8EB4DC contains mainly green and blue colors. Web safe color of #8EB4DC is #99CCCC (or #9CC).
#8EB4DC color RGB value is (142,180,220).
RGB: (142,180,220) (56%,71%,86%)
R 142 of 255 = 56%
G 180 of 255 = 71%
B 220 of 255 = 86%
R + G + B ~ 71%. #8EB4DC is quite light color.
R + G + B =
142 + 180 + 220 = 542 (100%)
R 142 of 542 ~ 26.2%
G 180 of 542 ~ 33.21%
B 220 of 542 ~ 40.59%
#8EB4DC color CMYK value is (35,18,0,14).
CMYK: (35,18,0,14) C35M18Y0K14 (35%,18%,0%,14%) (0.35/0.18/0.00/0.14)
8E | B4 | DC | |
---|---|---|---|
RGB | 142 | 180 | 220 |
HSL | 211° | 52.70% | 70.98% |
HSB/HSV | 211° | 35.45% | 86.27% |
CMYK | 35.45% | 18.18% | 0.00% |
13.73% |
HEX | 8E | B4 | DC |
Decimal | 142 | 180 | 220 |
Binary | 10001110 | 10110100 | 11011100 |
Octal | 216 | 264 | 334 |
Examples of css and html codes for elements with #8EB4DC color. Also use rgb(142,180,220) instead hex code.
.myTextColor { color: #8EB4DC; }
<p style="color:#8EB4DC">This sample text font color is #8EB4DC.</p>
This text font color is #8EB4DC.
.myBgColor { background-color: #8EB4DC; }
<div style="background-color:#8EB4DC">Inner text</div>
This div background color is #8EB4DC.
.myBorderColor { border: 1px solid #8EB4DC; }
<div style="border:3px solid #8EB4DC">Div</div>
This div border color is #8EB4DC.
.myOpacity80 { color: #8EB4DC; opacity: 0.8; }
<p style="color:#8EB4DC;opacity:0.8;">80%</p>
Text with #8EB4DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8EB4DC;}
<p style="text-shadow: 3px 3px 1px #8EB4DC">Text here.</p>
This text has shadow with #8EB4DC color.
.textShadow {text-shadow: 3px 3px 1px #8EB4DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8EB4DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #8EB4DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8EB4DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8EB4DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8EB4DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8EB4DC; -webkit-box-shadow: 1px 1px 3px 2px #8EB4DC; box-shadow: 1px 1px 3px 2px #8EB4DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8EB4DC; -webkit-box-shadow: 1px 1px 3px 2px #8EB4DC; box-shadow:1px 1px 3px 2px #8EB4DC;">
Div content here</div>
This text has color #8EB4DC on black background.
This text has color #8EB4DC on white background.
This text has black color on #8EB4DC background.
This text has white color on #8EB4DC background.