HEX: #7A789B
RGB: (122,120,155)
#7A789B contains red, green and blue colors in about the same proportion. Web safe color of #7A789B is #666699 (or #669).
#7A789B color RGB value is (122,120,155).
RGB: (122,120,155) (48%,47%,61%)
R 122 of 255 = 48%
G 120 of 255 = 47%
B 155 of 255 = 61%
R + G + B ~ 52%. #7A789B is middle color (not dark and not light).
R + G + B =
122 + 120 + 155 = 397 (100%)
R 122 of 397 ~ 30.73%
G 120 of 397 ~ 30.23%
B 155 of 397 ~ 39.04%
#7A789B color CMYK value is (21,23,0,39).
CMYK: (21,23,0,39) C21M23Y0K39 (21%,23%,0%,39%) (0.21/0.23/0.00/0.39)
7A | 78 | 9B | |
---|---|---|---|
RGB | 122 | 120 | 155 |
HSL | 243° | 14.89% | 53.92% |
HSB/HSV | 243° | 22.58% | 60.78% |
CMYK | 21.29% | 22.58% | 0.00% |
39.22% |
HEX | 7A | 78 | 9B |
Decimal | 122 | 120 | 155 |
Binary | 1111010 | 1111000 | 10011011 |
Octal | 172 | 170 | 233 |
Examples of css and html codes for elements with #7A789B color. Also use rgb(122,120,155) instead hex code.
.myTextColor { color: #7A789B; }
<p style="color:#7A789B">This sample text font color is #7A789B.</p>
This text font color is #7A789B.
.myBgColor { background-color: #7A789B; }
<div style="background-color:#7A789B">Inner text</div>
This div background color is #7A789B.
.myBorderColor { border: 1px solid #7A789B; }
<div style="border:3px solid #7A789B">Div</div>
This div border color is #7A789B.
.myOpacity80 { color: #7A789B; opacity: 0.8; }
<p style="color:#7A789B;opacity:0.8;">80%</p>
Text with #7A789B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7A789B;}
<p style="text-shadow: 3px 3px 1px #7A789B">Text here.</p>
This text has shadow with #7A789B color.
.textShadow {text-shadow: 3px 3px 1px #7A789B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7A789B, 5px 5px 20px red">Text here.</p>
This text has shadow with #7A789B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7A789B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7A789B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7A789B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7A789B; -webkit-box-shadow: 1px 1px 3px 2px #7A789B; box-shadow: 1px 1px 3px 2px #7A789B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7A789B; -webkit-box-shadow: 1px 1px 3px 2px #7A789B; box-shadow:1px 1px 3px 2px #7A789B;">
Div content here</div>
This text has color #7A789B on black background.
This text has color #7A789B on white background.
This text has black color on #7A789B background.
This text has white color on #7A789B background.