HEX: #7A8EB1
RGB: (122,142,177)
#7A8EB1 contains red, green and blue colors in about the same proportion. Web safe color of #7A8EB1 is #669999 (or #699).
#7A8EB1 color RGB value is (122,142,177).
RGB: (122,142,177) (48%,56%,69%)
R 122 of 255 = 48%
G 142 of 255 = 56%
B 177 of 255 = 69%
R + G + B ~ 58%. #7A8EB1 is middle color (not dark and not light).
R + G + B =
122 + 142 + 177 = 441 (100%)
R 122 of 441 ~ 27.66%
G 142 of 441 ~ 32.2%
B 177 of 441 ~ 40.14%
#7A8EB1 color CMYK value is (31,20,0,31).
CMYK: (31,20,0,31) C31M20Y0K31 (31%,20%,0%,31%) (0.31/0.20/0.00/0.31)
7A | 8E | B1 | |
---|---|---|---|
RGB | 122 | 142 | 177 |
HSL | 218° | 26.07% | 58.63% |
HSB/HSV | 218° | 31.07% | 69.41% |
CMYK | 31.07% | 19.77% | 0.00% |
30.59% |
HEX | 7A | 8E | B1 |
Decimal | 122 | 142 | 177 |
Binary | 1111010 | 10001110 | 10110001 |
Octal | 172 | 216 | 261 |
Examples of css and html codes for elements with #7A8EB1 color. Also use rgb(122,142,177) instead hex code.
.myTextColor { color: #7A8EB1; }
<p style="color:#7A8EB1">This sample text font color is #7A8EB1.</p>
This text font color is #7A8EB1.
.myBgColor { background-color: #7A8EB1; }
<div style="background-color:#7A8EB1">Inner text</div>
This div background color is #7A8EB1.
.myBorderColor { border: 1px solid #7A8EB1; }
<div style="border:3px solid #7A8EB1">Div</div>
This div border color is #7A8EB1.
.myOpacity80 { color: #7A8EB1; opacity: 0.8; }
<p style="color:#7A8EB1;opacity:0.8;">80%</p>
Text with #7A8EB1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7A8EB1;}
<p style="text-shadow: 3px 3px 1px #7A8EB1">Text here.</p>
This text has shadow with #7A8EB1 color.
.textShadow {text-shadow: 3px 3px 1px #7A8EB1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7A8EB1, 5px 5px 20px red">Text here.</p>
This text has shadow with #7A8EB1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7A8EB1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7A8EB1, Direction=45, Strength=4)">Text</p>
This text has shadow with #7A8EB1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7A8EB1; -webkit-box-shadow: 1px 1px 3px 2px #7A8EB1; box-shadow: 1px 1px 3px 2px #7A8EB1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7A8EB1; -webkit-box-shadow: 1px 1px 3px 2px #7A8EB1; box-shadow:1px 1px 3px 2px #7A8EB1;">
Div content here</div>
This text has color #7A8EB1 on black background.
This text has color #7A8EB1 on white background.
This text has black color on #7A8EB1 background.
This text has white color on #7A8EB1 background.