HEX: #7B4FAD
RGB: (123,79,173)
#7B4FAD contains mainly red and blue colors. Web safe color of #7B4FAD is #666699 (or #669).
#7B4FAD color RGB value is (123,79,173).
RGB: (123,79,173) (48%,31%,68%)
R 123 of 255 = 48%
G 79 of 255 = 31%
B 173 of 255 = 68%
R + G + B ~ 49%. #7B4FAD is middle color (not dark and not light).
R + G + B =
123 + 79 + 173 = 375 (100%)
R 123 of 375 ~ 32.8%
G 79 of 375 ~ 21.07%
B 173 of 375 ~ 46.13%
#7B4FAD color CMYK value is (29,54,0,32).
CMYK: (29,54,0,32) C29M54Y0K32 (29%,54%,0%,32%) (0.29/0.54/0.00/0.32)
7B | 4F | AD | |
---|---|---|---|
RGB | 123 | 79 | 173 |
HSL | 268° | 37.30% | 49.41% |
HSB/HSV | 268° | 54.34% | 67.84% |
CMYK | 28.90% | 54.34% | 0.00% |
32.16% |
HEX | 7B | 4F | AD |
Decimal | 123 | 79 | 173 |
Binary | 1111011 | 1001111 | 10101101 |
Octal | 173 | 117 | 255 |
Examples of css and html codes for elements with #7B4FAD color. Also use rgb(123,79,173) instead hex code.
.myTextColor { color: #7B4FAD; }
<p style="color:#7B4FAD">This sample text font color is #7B4FAD.</p>
This text font color is #7B4FAD.
.myBgColor { background-color: #7B4FAD; }
<div style="background-color:#7B4FAD">Inner text</div>
This div background color is #7B4FAD.
.myBorderColor { border: 1px solid #7B4FAD; }
<div style="border:3px solid #7B4FAD">Div</div>
This div border color is #7B4FAD.
.myOpacity80 { color: #7B4FAD; opacity: 0.8; }
<p style="color:#7B4FAD;opacity:0.8;">80%</p>
Text with #7B4FAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B4FAD;}
<p style="text-shadow: 3px 3px 1px #7B4FAD">Text here.</p>
This text has shadow with #7B4FAD color.
.textShadow {text-shadow: 3px 3px 1px #7B4FAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B4FAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B4FAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B4FAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B4FAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B4FAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B4FAD; -webkit-box-shadow: 1px 1px 3px 2px #7B4FAD; box-shadow: 1px 1px 3px 2px #7B4FAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B4FAD; -webkit-box-shadow: 1px 1px 3px 2px #7B4FAD; box-shadow:1px 1px 3px 2px #7B4FAD;">
Div content here</div>
This text has color #7B4FAD on black background.
This text has color #7B4FAD on white background.
This text has black color on #7B4FAD background.
This text has white color on #7B4FAD background.