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