HEX: #74795E
RGB: (116,121,94)
#74795E contains red, green and blue colors in about the same proportion. Web safe color of #74795E is #666666 (or #666).
#74795E color RGB value is (116,121,94).
RGB: (116,121,94) (45%,47%,37%)
R 116 of 255 = 45%
G 121 of 255 = 47%
B 94 of 255 = 37%
R + G + B ~ 43%. #74795E is middle color (not dark and not light).
R + G + B =
116 + 121 + 94 = 331 (100%)
R 116 of 331 ~ 35.05%
G 121 of 331 ~ 36.56%
B 94 of 331 ~ 28.4%
#74795E color CMYK value is (4,0,22,53).
CMYK: (4,0,22,53) C4M0Y22K53 (4%,0%,22%,53%) (0.04/0.00/0.22/0.53)
74 | 79 | 5E | |
---|---|---|---|
RGB | 116 | 121 | 94 |
HSL | 71° | 12.56% | 42.16% |
HSB/HSV | 71° | 22.31% | 47.45% |
CMYK | 4.13% | 0.00% | 22.31% |
52.55% |
HEX | 74 | 79 | 5E |
Decimal | 116 | 121 | 94 |
Binary | 1110100 | 1111001 | 1011110 |
Octal | 164 | 171 | 136 |
Examples of css and html codes for elements with #74795E color. Also use rgb(116,121,94) instead hex code.
.myTextColor { color: #74795E; }
<p style="color:#74795E">This sample text font color is #74795E.</p>
This text font color is #74795E.
.myBgColor { background-color: #74795E; }
<div style="background-color:#74795E">Inner text</div>
This div background color is #74795E.
.myBorderColor { border: 1px solid #74795E; }
<div style="border:3px solid #74795E">Div</div>
This div border color is #74795E.
.myOpacity80 { color: #74795E; opacity: 0.8; }
<p style="color:#74795E;opacity:0.8;">80%</p>
Text with #74795E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74795E;}
<p style="text-shadow: 3px 3px 1px #74795E">Text here.</p>
This text has shadow with #74795E color.
.textShadow {text-shadow: 3px 3px 1px #74795E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74795E, 5px 5px 20px red">Text here.</p>
This text has shadow with #74795E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74795E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74795E, Direction=45, Strength=4)">Text</p>
This text has shadow with #74795E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74795E; -webkit-box-shadow: 1px 1px 3px 2px #74795E; box-shadow: 1px 1px 3px 2px #74795E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74795E; -webkit-box-shadow: 1px 1px 3px 2px #74795E; box-shadow:1px 1px 3px 2px #74795E;">
Div content here</div>
This text has color #74795E on black background.
This text has color #74795E on white background.
This text has black color on #74795E background.
This text has white color on #74795E background.