HEX: #74785B
RGB: (116,120,91)
#74785B contains red, green and blue colors in about the same proportion. Web safe color of #74785B is #666666 (or #666).
#74785B color RGB value is (116,120,91).
RGB: (116,120,91) (45%,47%,36%)
R 116 of 255 = 45%
G 120 of 255 = 47%
B 91 of 255 = 36%
R + G + B ~ 43%. #74785B is middle color (not dark and not light).
R + G + B =
116 + 120 + 91 = 327 (100%)
R 116 of 327 ~ 35.47%
G 120 of 327 ~ 36.7%
B 91 of 327 ~ 27.83%
#74785B color CMYK value is (3,0,24,53).
CMYK: (3,0,24,53) C3M0Y24K53 (3%,0%,24%,53%) (0.03/0.00/0.24/0.53)
74 | 78 | 5B | |
---|---|---|---|
RGB | 116 | 120 | 91 |
HSL | 68° | 13.74% | 41.37% |
HSB/HSV | 68° | 24.17% | 47.06% |
CMYK | 3.33% | 0.00% | 24.17% |
52.94% |
HEX | 74 | 78 | 5B |
Decimal | 116 | 120 | 91 |
Binary | 1110100 | 1111000 | 1011011 |
Octal | 164 | 170 | 133 |
Examples of css and html codes for elements with #74785B color. Also use rgb(116,120,91) instead hex code.
.myTextColor { color: #74785B; }
<p style="color:#74785B">This sample text font color is #74785B.</p>
This text font color is #74785B.
.myBgColor { background-color: #74785B; }
<div style="background-color:#74785B">Inner text</div>
This div background color is #74785B.
.myBorderColor { border: 1px solid #74785B; }
<div style="border:3px solid #74785B">Div</div>
This div border color is #74785B.
.myOpacity80 { color: #74785B; opacity: 0.8; }
<p style="color:#74785B;opacity:0.8;">80%</p>
Text with #74785B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74785B;}
<p style="text-shadow: 3px 3px 1px #74785B">Text here.</p>
This text has shadow with #74785B color.
.textShadow {text-shadow: 3px 3px 1px #74785B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74785B, 5px 5px 20px red">Text here.</p>
This text has shadow with #74785B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74785B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74785B, Direction=45, Strength=4)">Text</p>
This text has shadow with #74785B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74785B; -webkit-box-shadow: 1px 1px 3px 2px #74785B; box-shadow: 1px 1px 3px 2px #74785B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74785B; -webkit-box-shadow: 1px 1px 3px 2px #74785B; box-shadow:1px 1px 3px 2px #74785B;">
Div content here</div>
This text has color #74785B on black background.
This text has color #74785B on white background.
This text has black color on #74785B background.
This text has white color on #74785B background.