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