HEX: #7E7BBA
RGB: (126,123,186)
#7E7BBA contains mainly blue color. Web safe color of #7E7BBA is #6666CC (or #66C).
#7E7BBA color RGB value is (126,123,186).
RGB: (126,123,186) (49%,48%,73%)
R 126 of 255 = 49%
G 123 of 255 = 48%
B 186 of 255 = 73%
R + G + B ~ 57%. #7E7BBA is middle color (not dark and not light).
R + G + B =
126 + 123 + 186 = 435 (100%)
R 126 of 435 ~ 28.97%
G 123 of 435 ~ 28.28%
B 186 of 435 ~ 42.76%
#7E7BBA color CMYK value is (32,34,0,27).
CMYK: (32,34,0,27) C32M34Y0K27 (32%,34%,0%,27%) (0.32/0.34/0.00/0.27)
7E | 7B | BA | |
---|---|---|---|
RGB | 126 | 123 | 186 |
HSL | 243° | 31.34% | 60.59% |
HSB/HSV | 243° | 33.87% | 72.94% |
CMYK | 32.26% | 33.87% | 0.00% |
27.06% |
HEX | 7E | 7B | BA |
Decimal | 126 | 123 | 186 |
Binary | 1111110 | 1111011 | 10111010 |
Octal | 176 | 173 | 272 |
Examples of css and html codes for elements with #7E7BBA color. Also use rgb(126,123,186) instead hex code.
.myTextColor { color: #7E7BBA; }
<p style="color:#7E7BBA">This sample text font color is #7E7BBA.</p>
This text font color is #7E7BBA.
.myBgColor { background-color: #7E7BBA; }
<div style="background-color:#7E7BBA">Inner text</div>
This div background color is #7E7BBA.
.myBorderColor { border: 1px solid #7E7BBA; }
<div style="border:3px solid #7E7BBA">Div</div>
This div border color is #7E7BBA.
.myOpacity80 { color: #7E7BBA; opacity: 0.8; }
<p style="color:#7E7BBA;opacity:0.8;">80%</p>
Text with #7E7BBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E7BBA;}
<p style="text-shadow: 3px 3px 1px #7E7BBA">Text here.</p>
This text has shadow with #7E7BBA color.
.textShadow {text-shadow: 3px 3px 1px #7E7BBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E7BBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E7BBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E7BBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E7BBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E7BBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E7BBA; -webkit-box-shadow: 1px 1px 3px 2px #7E7BBA; box-shadow: 1px 1px 3px 2px #7E7BBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E7BBA; -webkit-box-shadow: 1px 1px 3px 2px #7E7BBA; box-shadow:1px 1px 3px 2px #7E7BBA;">
Div content here</div>
This text has color #7E7BBA on black background.
This text has color #7E7BBA on white background.
This text has black color on #7E7BBA background.
This text has white color on #7E7BBA background.