HEX: #8EA7CC
RGB: (142,167,204)
#8EA7CC contains mainly green and blue colors. Web safe color of #8EA7CC is #9999CC (or #99C).
#8EA7CC color RGB value is (142,167,204).
RGB: (142,167,204) (56%,65%,80%)
R 142 of 255 = 56%
G 167 of 255 = 65%
B 204 of 255 = 80%
R + G + B ~ 67%. #8EA7CC is quite light color.
R + G + B =
142 + 167 + 204 = 513 (100%)
R 142 of 513 ~ 27.68%
G 167 of 513 ~ 32.55%
B 204 of 513 ~ 39.77%
#8EA7CC color CMYK value is (30,18,0,20).
CMYK: (30,18,0,20) C30M18Y0K20 (30%,18%,0%,20%) (0.30/0.18/0.00/0.20)
8E | A7 | CC | |
---|---|---|---|
RGB | 142 | 167 | 204 |
HSL | 216° | 37.80% | 67.84% |
HSB/HSV | 216° | 30.39% | 80.00% |
CMYK | 30.39% | 18.14% | 0.00% |
20.00% |
HEX | 8E | A7 | CC |
Decimal | 142 | 167 | 204 |
Binary | 10001110 | 10100111 | 11001100 |
Octal | 216 | 247 | 314 |
Examples of css and html codes for elements with #8EA7CC color. Also use rgb(142,167,204) instead hex code.
.myTextColor { color: #8EA7CC; }
<p style="color:#8EA7CC">This sample text font color is #8EA7CC.</p>
This text font color is #8EA7CC.
.myBgColor { background-color: #8EA7CC; }
<div style="background-color:#8EA7CC">Inner text</div>
This div background color is #8EA7CC.
.myBorderColor { border: 1px solid #8EA7CC; }
<div style="border:3px solid #8EA7CC">Div</div>
This div border color is #8EA7CC.
.myOpacity80 { color: #8EA7CC; opacity: 0.8; }
<p style="color:#8EA7CC;opacity:0.8;">80%</p>
Text with #8EA7CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8EA7CC;}
<p style="text-shadow: 3px 3px 1px #8EA7CC">Text here.</p>
This text has shadow with #8EA7CC color.
.textShadow {text-shadow: 3px 3px 1px #8EA7CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8EA7CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #8EA7CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8EA7CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8EA7CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8EA7CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8EA7CC; -webkit-box-shadow: 1px 1px 3px 2px #8EA7CC; box-shadow: 1px 1px 3px 2px #8EA7CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8EA7CC; -webkit-box-shadow: 1px 1px 3px 2px #8EA7CC; box-shadow:1px 1px 3px 2px #8EA7CC;">
Div content here</div>
This text has color #8EA7CC on black background.
This text has color #8EA7CC on white background.
This text has black color on #8EA7CC background.
This text has white color on #8EA7CC background.