HEX: #7A784B
RGB: (122,120,75)
#7A784B contains red, green and blue colors in about the same proportion. Web safe color of #7A784B is #666633 (or #663).
#7A784B color RGB value is (122,120,75).
RGB: (122,120,75) (48%,47%,29%)
R 122 of 255 = 48%
G 120 of 255 = 47%
B 75 of 255 = 29%
R + G + B ~ 41%. #7A784B is middle color (not dark and not light).
R + G + B =
122 + 120 + 75 = 317 (100%)
R 122 of 317 ~ 38.49%
G 120 of 317 ~ 37.85%
B 75 of 317 ~ 23.66%
#7A784B color CMYK value is (0,2,39,52).
CMYK: (0,2,39,52) C0M2Y39K52 (0%,2%,39%,52%) (0.00/0.02/0.39/0.52)
7A | 78 | 4B | |
---|---|---|---|
RGB | 122 | 120 | 75 |
HSL | 57° | 23.86% | 38.63% |
HSB/HSV | 57° | 38.52% | 47.84% |
CMYK | 0.00% | 1.64% | 38.52% |
52.16% |
HEX | 7A | 78 | 4B |
Decimal | 122 | 120 | 75 |
Binary | 1111010 | 1111000 | 1001011 |
Octal | 172 | 170 | 113 |
Examples of css and html codes for elements with #7A784B color. Also use rgb(122,120,75) instead hex code.
.myTextColor { color: #7A784B; }
<p style="color:#7A784B">This sample text font color is #7A784B.</p>
This text font color is #7A784B.
.myBgColor { background-color: #7A784B; }
<div style="background-color:#7A784B">Inner text</div>
This div background color is #7A784B.
.myBorderColor { border: 1px solid #7A784B; }
<div style="border:3px solid #7A784B">Div</div>
This div border color is #7A784B.
.myOpacity80 { color: #7A784B; opacity: 0.8; }
<p style="color:#7A784B;opacity:0.8;">80%</p>
Text with #7A784B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7A784B;}
<p style="text-shadow: 3px 3px 1px #7A784B">Text here.</p>
This text has shadow with #7A784B color.
.textShadow {text-shadow: 3px 3px 1px #7A784B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7A784B, 5px 5px 20px red">Text here.</p>
This text has shadow with #7A784B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7A784B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7A784B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7A784B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7A784B; -webkit-box-shadow: 1px 1px 3px 2px #7A784B; box-shadow: 1px 1px 3px 2px #7A784B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7A784B; -webkit-box-shadow: 1px 1px 3px 2px #7A784B; box-shadow:1px 1px 3px 2px #7A784B;">
Div content here</div>
This text has color #7A784B on black background.
This text has color #7A784B on white background.
This text has black color on #7A784B background.
This text has white color on #7A784B background.