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