HEX: #7EA8CC
RGB: (126,168,204)
#7EA8CC contains mainly green and blue colors. Web safe color of #7EA8CC is #6699CC (or #69C).
#7EA8CC color RGB value is (126,168,204).
RGB: (126,168,204) (49%,66%,80%)
R 126 of 255 = 49%
G 168 of 255 = 66%
B 204 of 255 = 80%
R + G + B ~ 65%. #7EA8CC is quite light color.
R + G + B =
126 + 168 + 204 = 498 (100%)
R 126 of 498 ~ 25.3%
G 168 of 498 ~ 33.73%
B 204 of 498 ~ 40.96%
#7EA8CC color CMYK value is (38,18,0,20).
CMYK: (38,18,0,20) C38M18Y0K20 (38%,18%,0%,20%) (0.38/0.18/0.00/0.20)
7E | A8 | CC | |
---|---|---|---|
RGB | 126 | 168 | 204 |
HSL | 208° | 43.33% | 64.71% |
HSB/HSV | 208° | 38.24% | 80.00% |
CMYK | 38.24% | 17.65% | 0.00% |
20.00% |
HEX | 7E | A8 | CC |
Decimal | 126 | 168 | 204 |
Binary | 1111110 | 10101000 | 11001100 |
Octal | 176 | 250 | 314 |
Examples of css and html codes for elements with #7EA8CC color. Also use rgb(126,168,204) instead hex code.
.myTextColor { color: #7EA8CC; }
<p style="color:#7EA8CC">This sample text font color is #7EA8CC.</p>
This text font color is #7EA8CC.
.myBgColor { background-color: #7EA8CC; }
<div style="background-color:#7EA8CC">Inner text</div>
This div background color is #7EA8CC.
.myBorderColor { border: 1px solid #7EA8CC; }
<div style="border:3px solid #7EA8CC">Div</div>
This div border color is #7EA8CC.
.myOpacity80 { color: #7EA8CC; opacity: 0.8; }
<p style="color:#7EA8CC;opacity:0.8;">80%</p>
Text with #7EA8CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7EA8CC;}
<p style="text-shadow: 3px 3px 1px #7EA8CC">Text here.</p>
This text has shadow with #7EA8CC color.
.textShadow {text-shadow: 3px 3px 1px #7EA8CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7EA8CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #7EA8CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7EA8CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7EA8CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #7EA8CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7EA8CC; -webkit-box-shadow: 1px 1px 3px 2px #7EA8CC; box-shadow: 1px 1px 3px 2px #7EA8CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7EA8CC; -webkit-box-shadow: 1px 1px 3px 2px #7EA8CC; box-shadow:1px 1px 3px 2px #7EA8CC;">
Div content here</div>
This text has color #7EA8CC on black background.
This text has color #7EA8CC on white background.
This text has black color on #7EA8CC background.
This text has white color on #7EA8CC background.