HEX: #7A71BA
RGB: (122,113,186)
#7A71BA contains mainly blue color. Web safe color of #7A71BA is #6666CC (or #66C).
#7A71BA color RGB value is (122,113,186).
RGB: (122,113,186) (48%,44%,73%)
R 122 of 255 = 48%
G 113 of 255 = 44%
B 186 of 255 = 73%
R + G + B ~ 55%. #7A71BA is middle color (not dark and not light).
R + G + B =
122 + 113 + 186 = 421 (100%)
R 122 of 421 ~ 28.98%
G 113 of 421 ~ 26.84%
B 186 of 421 ~ 44.18%
#7A71BA color CMYK value is (34,39,0,27).
CMYK: (34,39,0,27) C34M39Y0K27 (34%,39%,0%,27%) (0.34/0.39/0.00/0.27)
7A | 71 | BA | |
---|---|---|---|
RGB | 122 | 113 | 186 |
HSL | 247° | 34.60% | 58.63% |
HSB/HSV | 247° | 39.25% | 72.94% |
CMYK | 34.41% | 39.25% | 0.00% |
27.06% |
HEX | 7A | 71 | BA |
Decimal | 122 | 113 | 186 |
Binary | 1111010 | 1110001 | 10111010 |
Octal | 172 | 161 | 272 |
Examples of css and html codes for elements with #7A71BA color. Also use rgb(122,113,186) instead hex code.
.myTextColor { color: #7A71BA; }
<p style="color:#7A71BA">This sample text font color is #7A71BA.</p>
This text font color is #7A71BA.
.myBgColor { background-color: #7A71BA; }
<div style="background-color:#7A71BA">Inner text</div>
This div background color is #7A71BA.
.myBorderColor { border: 1px solid #7A71BA; }
<div style="border:3px solid #7A71BA">Div</div>
This div border color is #7A71BA.
.myOpacity80 { color: #7A71BA; opacity: 0.8; }
<p style="color:#7A71BA;opacity:0.8;">80%</p>
Text with #7A71BA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7A71BA;}
<p style="text-shadow: 3px 3px 1px #7A71BA">Text here.</p>
This text has shadow with #7A71BA color.
.textShadow {text-shadow: 3px 3px 1px #7A71BA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7A71BA, 5px 5px 20px red">Text here.</p>
This text has shadow with #7A71BA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7A71BA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7A71BA, Direction=45, Strength=4)">Text</p>
This text has shadow with #7A71BA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7A71BA; -webkit-box-shadow: 1px 1px 3px 2px #7A71BA; box-shadow: 1px 1px 3px 2px #7A71BA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7A71BA; -webkit-box-shadow: 1px 1px 3px 2px #7A71BA; box-shadow:1px 1px 3px 2px #7A71BA;">
Div content here</div>
This text has color #7A71BA on black background.
This text has color #7A71BA on white background.
This text has black color on #7A71BA background.
This text has white color on #7A71BA background.