HEX: #7E709D
RGB: (126,112,157)
#7E709D contains red, green and blue colors in about the same proportion. Web safe color of #7E709D is #666699 (or #669).
#7E709D color RGB value is (126,112,157).
RGB: (126,112,157) (49%,44%,62%)
R 126 of 255 = 49%
G 112 of 255 = 44%
B 157 of 255 = 62%
R + G + B ~ 52%. #7E709D is middle color (not dark and not light).
R + G + B =
126 + 112 + 157 = 395 (100%)
R 126 of 395 ~ 31.9%
G 112 of 395 ~ 28.35%
B 157 of 395 ~ 39.75%
#7E709D color CMYK value is (20,29,0,38).
CMYK: (20,29,0,38) C20M29Y0K38 (20%,29%,0%,38%) (0.20/0.29/0.00/0.38)
7E | 70 | 9D | |
---|---|---|---|
RGB | 126 | 112 | 157 |
HSL | 259° | 18.67% | 52.75% |
HSB/HSV | 259° | 28.66% | 61.57% |
CMYK | 19.75% | 28.66% | 0.00% |
38.43% |
HEX | 7E | 70 | 9D |
Decimal | 126 | 112 | 157 |
Binary | 1111110 | 1110000 | 10011101 |
Octal | 176 | 160 | 235 |
Examples of css and html codes for elements with #7E709D color. Also use rgb(126,112,157) instead hex code.
.myTextColor { color: #7E709D; }
<p style="color:#7E709D">This sample text font color is #7E709D.</p>
This text font color is #7E709D.
.myBgColor { background-color: #7E709D; }
<div style="background-color:#7E709D">Inner text</div>
This div background color is #7E709D.
.myBorderColor { border: 1px solid #7E709D; }
<div style="border:3px solid #7E709D">Div</div>
This div border color is #7E709D.
.myOpacity80 { color: #7E709D; opacity: 0.8; }
<p style="color:#7E709D;opacity:0.8;">80%</p>
Text with #7E709D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E709D;}
<p style="text-shadow: 3px 3px 1px #7E709D">Text here.</p>
This text has shadow with #7E709D color.
.textShadow {text-shadow: 3px 3px 1px #7E709D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E709D, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E709D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E709D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E709D, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E709D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E709D; -webkit-box-shadow: 1px 1px 3px 2px #7E709D; box-shadow: 1px 1px 3px 2px #7E709D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E709D; -webkit-box-shadow: 1px 1px 3px 2px #7E709D; box-shadow:1px 1px 3px 2px #7E709D;">
Div content here</div>
This text has color #7E709D on black background.
This text has color #7E709D on white background.
This text has black color on #7E709D background.
This text has white color on #7E709D background.