HEX: #7E74AF
RGB: (126,116,175)
#7E74AF contains red, green and blue colors in about the same proportion. Web safe color of #7E74AF is #666699 (or #669).
#7E74AF color RGB value is (126,116,175).
RGB: (126,116,175) (49%,45%,69%)
R 126 of 255 = 49%
G 116 of 255 = 45%
B 175 of 255 = 69%
R + G + B ~ 54%. #7E74AF is middle color (not dark and not light).
R + G + B =
126 + 116 + 175 = 417 (100%)
R 126 of 417 ~ 30.22%
G 116 of 417 ~ 27.82%
B 175 of 417 ~ 41.97%
#7E74AF color CMYK value is (28,34,0,31).
CMYK: (28,34,0,31) C28M34Y0K31 (28%,34%,0%,31%) (0.28/0.34/0.00/0.31)
7E | 74 | AF | |
---|---|---|---|
RGB | 126 | 116 | 175 |
HSL | 250° | 26.94% | 57.06% |
HSB/HSV | 250° | 33.71% | 68.63% |
CMYK | 28.00% | 33.71% | 0.00% |
31.37% |
HEX | 7E | 74 | AF |
Decimal | 126 | 116 | 175 |
Binary | 1111110 | 1110100 | 10101111 |
Octal | 176 | 164 | 257 |
Examples of css and html codes for elements with #7E74AF color. Also use rgb(126,116,175) instead hex code.
.myTextColor { color: #7E74AF; }
<p style="color:#7E74AF">This sample text font color is #7E74AF.</p>
This text font color is #7E74AF.
.myBgColor { background-color: #7E74AF; }
<div style="background-color:#7E74AF">Inner text</div>
This div background color is #7E74AF.
.myBorderColor { border: 1px solid #7E74AF; }
<div style="border:3px solid #7E74AF">Div</div>
This div border color is #7E74AF.
.myOpacity80 { color: #7E74AF; opacity: 0.8; }
<p style="color:#7E74AF;opacity:0.8;">80%</p>
Text with #7E74AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E74AF;}
<p style="text-shadow: 3px 3px 1px #7E74AF">Text here.</p>
This text has shadow with #7E74AF color.
.textShadow {text-shadow: 3px 3px 1px #7E74AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E74AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E74AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E74AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E74AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E74AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E74AF; -webkit-box-shadow: 1px 1px 3px 2px #7E74AF; box-shadow: 1px 1px 3px 2px #7E74AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E74AF; -webkit-box-shadow: 1px 1px 3px 2px #7E74AF; box-shadow:1px 1px 3px 2px #7E74AF;">
Div content here</div>
This text has color #7E74AF on black background.
This text has color #7E74AF on white background.
This text has black color on #7E74AF background.
This text has white color on #7E74AF background.