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