HEX: #7E7DBC
RGB: (126,125,188)
#7E7DBC contains mainly blue color. Web safe color of #7E7DBC is #6666CC (or #66C).
#7E7DBC color RGB value is (126,125,188).
RGB: (126,125,188) (49%,49%,74%)
R 126 of 255 = 49%
G 125 of 255 = 49%
B 188 of 255 = 74%
R + G + B ~ 57%. #7E7DBC is middle color (not dark and not light).
R + G + B =
126 + 125 + 188 = 439 (100%)
R 126 of 439 ~ 28.7%
G 125 of 439 ~ 28.47%
B 188 of 439 ~ 42.82%
#7E7DBC color CMYK value is (33,34,0,26).
CMYK: (33,34,0,26) C33M34Y0K26 (33%,34%,0%,26%) (0.33/0.34/0.00/0.26)
7E | 7D | BC | |
---|---|---|---|
RGB | 126 | 125 | 188 |
HSL | 241° | 31.98% | 61.37% |
HSB/HSV | 241° | 33.51% | 73.73% |
CMYK | 32.98% | 33.51% | 0.00% |
26.27% |
HEX | 7E | 7D | BC |
Decimal | 126 | 125 | 188 |
Binary | 1111110 | 1111101 | 10111100 |
Octal | 176 | 175 | 274 |
Examples of css and html codes for elements with #7E7DBC color. Also use rgb(126,125,188) instead hex code.
.myTextColor { color: #7E7DBC; }
<p style="color:#7E7DBC">This sample text font color is #7E7DBC.</p>
This text font color is #7E7DBC.
.myBgColor { background-color: #7E7DBC; }
<div style="background-color:#7E7DBC">Inner text</div>
This div background color is #7E7DBC.
.myBorderColor { border: 1px solid #7E7DBC; }
<div style="border:3px solid #7E7DBC">Div</div>
This div border color is #7E7DBC.
.myOpacity80 { color: #7E7DBC; opacity: 0.8; }
<p style="color:#7E7DBC;opacity:0.8;">80%</p>
Text with #7E7DBC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E7DBC;}
<p style="text-shadow: 3px 3px 1px #7E7DBC">Text here.</p>
This text has shadow with #7E7DBC color.
.textShadow {text-shadow: 3px 3px 1px #7E7DBC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E7DBC, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E7DBC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E7DBC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E7DBC, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E7DBC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E7DBC; -webkit-box-shadow: 1px 1px 3px 2px #7E7DBC; box-shadow: 1px 1px 3px 2px #7E7DBC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E7DBC; -webkit-box-shadow: 1px 1px 3px 2px #7E7DBC; box-shadow:1px 1px 3px 2px #7E7DBC;">
Div content here</div>
This text has color #7E7DBC on black background.
This text has color #7E7DBC on white background.
This text has black color on #7E7DBC background.
This text has white color on #7E7DBC background.