HEX: #7C6AAB
RGB: (124,106,171)
#7C6AAB contains mainly red and blue colors. Web safe color of #7C6AAB is #666699 (or #669).
#7C6AAB color RGB value is (124,106,171).
RGB: (124,106,171) (49%,42%,67%)
R 124 of 255 = 49%
G 106 of 255 = 42%
B 171 of 255 = 67%
R + G + B ~ 53%. #7C6AAB is middle color (not dark and not light).
R + G + B =
124 + 106 + 171 = 401 (100%)
R 124 of 401 ~ 30.92%
G 106 of 401 ~ 26.43%
B 171 of 401 ~ 42.64%
#7C6AAB color CMYK value is (27,38,0,33).
CMYK: (27,38,0,33) C27M38Y0K33 (27%,38%,0%,33%) (0.27/0.38/0.00/0.33)
7C | 6A | AB | |
---|---|---|---|
RGB | 124 | 106 | 171 |
HSL | 257° | 27.90% | 54.31% |
HSB/HSV | 257° | 38.01% | 67.06% |
CMYK | 27.49% | 38.01% | 0.00% |
32.94% |
HEX | 7C | 6A | AB |
Decimal | 124 | 106 | 171 |
Binary | 1111100 | 1101010 | 10101011 |
Octal | 174 | 152 | 253 |
Examples of css and html codes for elements with #7C6AAB color. Also use rgb(124,106,171) instead hex code.
.myTextColor { color: #7C6AAB; }
<p style="color:#7C6AAB">This sample text font color is #7C6AAB.</p>
This text font color is #7C6AAB.
.myBgColor { background-color: #7C6AAB; }
<div style="background-color:#7C6AAB">Inner text</div>
This div background color is #7C6AAB.
.myBorderColor { border: 1px solid #7C6AAB; }
<div style="border:3px solid #7C6AAB">Div</div>
This div border color is #7C6AAB.
.myOpacity80 { color: #7C6AAB; opacity: 0.8; }
<p style="color:#7C6AAB;opacity:0.8;">80%</p>
Text with #7C6AAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7C6AAB;}
<p style="text-shadow: 3px 3px 1px #7C6AAB">Text here.</p>
This text has shadow with #7C6AAB color.
.textShadow {text-shadow: 3px 3px 1px #7C6AAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7C6AAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #7C6AAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7C6AAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7C6AAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #7C6AAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7C6AAB; -webkit-box-shadow: 1px 1px 3px 2px #7C6AAB; box-shadow: 1px 1px 3px 2px #7C6AAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7C6AAB; -webkit-box-shadow: 1px 1px 3px 2px #7C6AAB; box-shadow:1px 1px 3px 2px #7C6AAB;">
Div content here</div>
This text has color #7C6AAB on black background.
This text has color #7C6AAB on white background.
This text has black color on #7C6AAB background.
This text has white color on #7C6AAB background.