HEX: #795761
RGB: (121,87,97)
#795761 contains red, green and blue colors in about the same proportion. Web safe color of #795761 is #666666 (or #666).
#795761 color RGB value is (121,87,97).
RGB: (121,87,97) (47%,34%,38%)
R 121 of 255 = 47%
G 87 of 255 = 34%
B 97 of 255 = 38%
R + G + B ~ 40%. #795761 is middle color (not dark and not light).
R + G + B =
121 + 87 + 97 = 305 (100%)
R 121 of 305 ~ 39.67%
G 87 of 305 ~ 28.52%
B 97 of 305 ~ 31.8%
#795761 color CMYK value is (0,28,20,53).
CMYK: (0,28,20,53) C0M28Y20K53 (0%,28%,20%,53%) (0.00/0.28/0.20/0.53)
79 | 57 | 61 | |
---|---|---|---|
RGB | 121 | 87 | 97 |
HSL | 342° | 16.35% | 40.78% |
HSB/HSV | 342° | 28.10% | 47.45% |
CMYK | 0.00% | 28.10% | 19.83% |
52.55% |
HEX | 79 | 57 | 61 |
Decimal | 121 | 87 | 97 |
Binary | 1111001 | 1010111 | 1100001 |
Octal | 171 | 127 | 141 |
Examples of css and html codes for elements with #795761 color. Also use rgb(121,87,97) instead hex code.
.myTextColor { color: #795761; }
<p style="color:#795761">This sample text font color is #795761.</p>
This text font color is #795761.
.myBgColor { background-color: #795761; }
<div style="background-color:#795761">Inner text</div>
This div background color is #795761.
.myBorderColor { border: 1px solid #795761; }
<div style="border:3px solid #795761">Div</div>
This div border color is #795761.
.myOpacity80 { color: #795761; opacity: 0.8; }
<p style="color:#795761;opacity:0.8;">80%</p>
Text with #795761 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #795761;}
<p style="text-shadow: 3px 3px 1px #795761">Text here.</p>
This text has shadow with #795761 color.
.textShadow {text-shadow: 3px 3px 1px #795761, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #795761, 5px 5px 20px red">Text here.</p>
This text has shadow with #795761 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#795761, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#795761, Direction=45, Strength=4)">Text</p>
This text has shadow with #795761 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #795761; -webkit-box-shadow: 1px 1px 3px 2px #795761; box-shadow: 1px 1px 3px 2px #795761; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #795761; -webkit-box-shadow: 1px 1px 3px 2px #795761; box-shadow:1px 1px 3px 2px #795761;">
Div content here</div>
This text has color #795761 on black background.
This text has color #795761 on white background.
This text has black color on #795761 background.
This text has white color on #795761 background.