HEX: #7E729F
RGB: (126,114,159)
#7E729F contains red, green and blue colors in about the same proportion. Web safe color of #7E729F is #666699 (or #669).
#7E729F color RGB value is (126,114,159).
RGB: (126,114,159) (49%,45%,62%)
R 126 of 255 = 49%
G 114 of 255 = 45%
B 159 of 255 = 62%
R + G + B ~ 52%. #7E729F is middle color (not dark and not light).
R + G + B =
126 + 114 + 159 = 399 (100%)
R 126 of 399 ~ 31.58%
G 114 of 399 ~ 28.57%
B 159 of 399 ~ 39.85%
#7E729F color CMYK value is (21,28,0,38).
CMYK: (21,28,0,38) C21M28Y0K38 (21%,28%,0%,38%) (0.21/0.28/0.00/0.38)
7E | 72 | 9F | |
---|---|---|---|
RGB | 126 | 114 | 159 |
HSL | 256° | 18.99% | 53.53% |
HSB/HSV | 256° | 28.30% | 62.35% |
CMYK | 20.75% | 28.30% | 0.00% |
37.65% |
HEX | 7E | 72 | 9F |
Decimal | 126 | 114 | 159 |
Binary | 1111110 | 1110010 | 10011111 |
Octal | 176 | 162 | 237 |
Examples of css and html codes for elements with #7E729F color. Also use rgb(126,114,159) instead hex code.
.myTextColor { color: #7E729F; }
<p style="color:#7E729F">This sample text font color is #7E729F.</p>
This text font color is #7E729F.
.myBgColor { background-color: #7E729F; }
<div style="background-color:#7E729F">Inner text</div>
This div background color is #7E729F.
.myBorderColor { border: 1px solid #7E729F; }
<div style="border:3px solid #7E729F">Div</div>
This div border color is #7E729F.
.myOpacity80 { color: #7E729F; opacity: 0.8; }
<p style="color:#7E729F;opacity:0.8;">80%</p>
Text with #7E729F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E729F;}
<p style="text-shadow: 3px 3px 1px #7E729F">Text here.</p>
This text has shadow with #7E729F color.
.textShadow {text-shadow: 3px 3px 1px #7E729F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E729F, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E729F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E729F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E729F, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E729F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E729F; -webkit-box-shadow: 1px 1px 3px 2px #7E729F; box-shadow: 1px 1px 3px 2px #7E729F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E729F; -webkit-box-shadow: 1px 1px 3px 2px #7E729F; box-shadow:1px 1px 3px 2px #7E729F;">
Div content here</div>
This text has color #7E729F on black background.
This text has color #7E729F on white background.
This text has black color on #7E729F background.
This text has white color on #7E729F background.