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