HEX: #7A788A
RGB: (122,120,138)
#7A788A contains red, green and blue colors in about the same proportion. Web safe color of #7A788A is #666699 (or #669).
#7A788A color RGB value is (122,120,138).
RGB: (122,120,138) (48%,47%,54%)
R 122 of 255 = 48%
G 120 of 255 = 47%
B 138 of 255 = 54%
R + G + B ~ 50%. #7A788A is middle color (not dark and not light).
R + G + B =
122 + 120 + 138 = 380 (100%)
R 122 of 380 ~ 32.11%
G 120 of 380 ~ 31.58%
B 138 of 380 ~ 36.32%
#7A788A color CMYK value is (12,13,0,46).
CMYK: (12,13,0,46) C12M13Y0K46 (12%,13%,0%,46%) (0.12/0.13/0.00/0.46)
7A | 78 | 8A | |
---|---|---|---|
RGB | 122 | 120 | 138 |
HSL | 247° | 7.14% | 50.59% |
HSB/HSV | 247° | 13.04% | 54.12% |
CMYK | 11.59% | 13.04% | 0.00% |
45.88% |
HEX | 7A | 78 | 8A |
Decimal | 122 | 120 | 138 |
Binary | 1111010 | 1111000 | 10001010 |
Octal | 172 | 170 | 212 |
Examples of css and html codes for elements with #7A788A color. Also use rgb(122,120,138) instead hex code.
.myTextColor { color: #7A788A; }
<p style="color:#7A788A">This sample text font color is #7A788A.</p>
This text font color is #7A788A.
.myBgColor { background-color: #7A788A; }
<div style="background-color:#7A788A">Inner text</div>
This div background color is #7A788A.
.myBorderColor { border: 1px solid #7A788A; }
<div style="border:3px solid #7A788A">Div</div>
This div border color is #7A788A.
.myOpacity80 { color: #7A788A; opacity: 0.8; }
<p style="color:#7A788A;opacity:0.8;">80%</p>
Text with #7A788A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7A788A;}
<p style="text-shadow: 3px 3px 1px #7A788A">Text here.</p>
This text has shadow with #7A788A color.
.textShadow {text-shadow: 3px 3px 1px #7A788A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7A788A, 5px 5px 20px red">Text here.</p>
This text has shadow with #7A788A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7A788A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7A788A, Direction=45, Strength=4)">Text</p>
This text has shadow with #7A788A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7A788A; -webkit-box-shadow: 1px 1px 3px 2px #7A788A; box-shadow: 1px 1px 3px 2px #7A788A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7A788A; -webkit-box-shadow: 1px 1px 3px 2px #7A788A; box-shadow:1px 1px 3px 2px #7A788A;">
Div content here</div>
This text has color #7A788A on black background.
This text has color #7A788A on white background.
This text has black color on #7A788A background.
This text has white color on #7A788A background.