HEX: #797747
RGB: (121,119,71)
#797747 contains red, green and blue colors in about the same proportion. Web safe color of #797747 is #666633 (or #663).
#797747 color RGB value is (121,119,71).
RGB: (121,119,71) (47%,47%,28%)
R 121 of 255 = 47%
G 119 of 255 = 47%
B 71 of 255 = 28%
R + G + B ~ 41%. #797747 is middle color (not dark and not light).
R + G + B =
121 + 119 + 71 = 311 (100%)
R 121 of 311 ~ 38.91%
G 119 of 311 ~ 38.26%
B 71 of 311 ~ 22.83%
#797747 color CMYK value is (0,2,41,53).
CMYK: (0,2,41,53) C0M2Y41K53 (0%,2%,41%,53%) (0.00/0.02/0.41/0.53)
79 | 77 | 47 | |
---|---|---|---|
RGB | 121 | 119 | 71 |
HSL | 58° | 26.04% | 37.65% |
HSB/HSV | 58° | 41.32% | 47.45% |
CMYK | 0.00% | 1.65% | 41.32% |
52.55% |
HEX | 79 | 77 | 47 |
Decimal | 121 | 119 | 71 |
Binary | 1111001 | 1110111 | 1000111 |
Octal | 171 | 167 | 107 |
Examples of css and html codes for elements with #797747 color. Also use rgb(121,119,71) instead hex code.
.myTextColor { color: #797747; }
<p style="color:#797747">This sample text font color is #797747.</p>
This text font color is #797747.
.myBgColor { background-color: #797747; }
<div style="background-color:#797747">Inner text</div>
This div background color is #797747.
.myBorderColor { border: 1px solid #797747; }
<div style="border:3px solid #797747">Div</div>
This div border color is #797747.
.myOpacity80 { color: #797747; opacity: 0.8; }
<p style="color:#797747;opacity:0.8;">80%</p>
Text with #797747 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #797747;}
<p style="text-shadow: 3px 3px 1px #797747">Text here.</p>
This text has shadow with #797747 color.
.textShadow {text-shadow: 3px 3px 1px #797747, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #797747, 5px 5px 20px red">Text here.</p>
This text has shadow with #797747 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#797747, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#797747, Direction=45, Strength=4)">Text</p>
This text has shadow with #797747 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #797747; -webkit-box-shadow: 1px 1px 3px 2px #797747; box-shadow: 1px 1px 3px 2px #797747; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #797747; -webkit-box-shadow: 1px 1px 3px 2px #797747; box-shadow:1px 1px 3px 2px #797747;">
Div content here</div>
This text has color #797747 on black background.
This text has color #797747 on white background.
This text has black color on #797747 background.
This text has white color on #797747 background.