HEX: #787A5D
RGB: (120,122,93)
#787A5D contains red, green and blue colors in about the same proportion. Web safe color of #787A5D is #666666 (or #666).
#787A5D color RGB value is (120,122,93).
RGB: (120,122,93) (47%,48%,36%)
R 120 of 255 = 47%
G 122 of 255 = 48%
B 93 of 255 = 36%
R + G + B ~ 44%. #787A5D is middle color (not dark and not light).
R + G + B =
120 + 122 + 93 = 335 (100%)
R 120 of 335 ~ 35.82%
G 122 of 335 ~ 36.42%
B 93 of 335 ~ 27.76%
#787A5D color CMYK value is (2,0,24,52).
CMYK: (2,0,24,52) C2M0Y24K52 (2%,0%,24%,52%) (0.02/0.00/0.24/0.52)
78 | 7A | 5D | |
---|---|---|---|
RGB | 120 | 122 | 93 |
HSL | 64° | 13.49% | 42.16% |
HSB/HSV | 64° | 23.77% | 47.84% |
CMYK | 1.64% | 0.00% | 23.77% |
52.16% |
HEX | 78 | 7A | 5D |
Decimal | 120 | 122 | 93 |
Binary | 1111000 | 1111010 | 1011101 |
Octal | 170 | 172 | 135 |
Examples of css and html codes for elements with #787A5D color. Also use rgb(120,122,93) instead hex code.
.myTextColor { color: #787A5D; }
<p style="color:#787A5D">This sample text font color is #787A5D.</p>
This text font color is #787A5D.
.myBgColor { background-color: #787A5D; }
<div style="background-color:#787A5D">Inner text</div>
This div background color is #787A5D.
.myBorderColor { border: 1px solid #787A5D; }
<div style="border:3px solid #787A5D">Div</div>
This div border color is #787A5D.
.myOpacity80 { color: #787A5D; opacity: 0.8; }
<p style="color:#787A5D;opacity:0.8;">80%</p>
Text with #787A5D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787A5D;}
<p style="text-shadow: 3px 3px 1px #787A5D">Text here.</p>
This text has shadow with #787A5D color.
.textShadow {text-shadow: 3px 3px 1px #787A5D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787A5D, 5px 5px 20px red">Text here.</p>
This text has shadow with #787A5D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787A5D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787A5D, Direction=45, Strength=4)">Text</p>
This text has shadow with #787A5D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787A5D; -webkit-box-shadow: 1px 1px 3px 2px #787A5D; box-shadow: 1px 1px 3px 2px #787A5D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787A5D; -webkit-box-shadow: 1px 1px 3px 2px #787A5D; box-shadow:1px 1px 3px 2px #787A5D;">
Div content here</div>
This text has color #787A5D on black background.
This text has color #787A5D on white background.
This text has black color on #787A5D background.
This text has white color on #787A5D background.