HEX: #7E7DAD
RGB: (126,125,173)
#7E7DAD contains red, green and blue colors in about the same proportion. Web safe color of #7E7DAD is #666699 (or #669).
#7E7DAD color RGB value is (126,125,173).
RGB: (126,125,173) (49%,49%,68%)
R 126 of 255 = 49%
G 125 of 255 = 49%
B 173 of 255 = 68%
R + G + B ~ 55%. #7E7DAD is middle color (not dark and not light).
R + G + B =
126 + 125 + 173 = 424 (100%)
R 126 of 424 ~ 29.72%
G 125 of 424 ~ 29.48%
B 173 of 424 ~ 40.8%
#7E7DAD color CMYK value is (27,28,0,32).
CMYK: (27,28,0,32) C27M28Y0K32 (27%,28%,0%,32%) (0.27/0.28/0.00/0.32)
7E | 7D | AD | |
---|---|---|---|
RGB | 126 | 125 | 173 |
HSL | 241° | 22.64% | 58.43% |
HSB/HSV | 241° | 27.75% | 67.84% |
CMYK | 27.17% | 27.75% | 0.00% |
32.16% |
HEX | 7E | 7D | AD |
Decimal | 126 | 125 | 173 |
Binary | 1111110 | 1111101 | 10101101 |
Octal | 176 | 175 | 255 |
Examples of css and html codes for elements with #7E7DAD color. Also use rgb(126,125,173) instead hex code.
.myTextColor { color: #7E7DAD; }
<p style="color:#7E7DAD">This sample text font color is #7E7DAD.</p>
This text font color is #7E7DAD.
.myBgColor { background-color: #7E7DAD; }
<div style="background-color:#7E7DAD">Inner text</div>
This div background color is #7E7DAD.
.myBorderColor { border: 1px solid #7E7DAD; }
<div style="border:3px solid #7E7DAD">Div</div>
This div border color is #7E7DAD.
.myOpacity80 { color: #7E7DAD; opacity: 0.8; }
<p style="color:#7E7DAD;opacity:0.8;">80%</p>
Text with #7E7DAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E7DAD;}
<p style="text-shadow: 3px 3px 1px #7E7DAD">Text here.</p>
This text has shadow with #7E7DAD color.
.textShadow {text-shadow: 3px 3px 1px #7E7DAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E7DAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E7DAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E7DAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E7DAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E7DAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E7DAD; -webkit-box-shadow: 1px 1px 3px 2px #7E7DAD; box-shadow: 1px 1px 3px 2px #7E7DAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E7DAD; -webkit-box-shadow: 1px 1px 3px 2px #7E7DAD; box-shadow:1px 1px 3px 2px #7E7DAD;">
Div content here</div>
This text has color #7E7DAD on black background.
This text has color #7E7DAD on white background.
This text has black color on #7E7DAD background.
This text has white color on #7E7DAD background.