HEX: #A7798B
RGB: (167,121,139)
#A7798B contains red, green and blue colors in about the same proportion. Web safe color of #A7798B is #996699 (or #969).
#A7798B color RGB value is (167,121,139).
RGB: (167,121,139) (65%,47%,55%)
R 167 of 255 = 65%
G 121 of 255 = 47%
B 139 of 255 = 55%
R + G + B ~ 56%. #A7798B is middle color (not dark and not light).
R + G + B =
167 + 121 + 139 = 427 (100%)
R 167 of 427 ~ 39.11%
G 121 of 427 ~ 28.34%
B 139 of 427 ~ 32.55%
#A7798B color CMYK value is (0,28,17,35).
CMYK: (0,28,17,35) C0M28Y17K35 (0%,28%,17%,35%) (0.00/0.28/0.17/0.35)
A7 | 79 | 8B | |
---|---|---|---|
RGB | 167 | 121 | 139 |
HSL | 337° | 20.72% | 56.47% |
HSB/HSV | 337° | 27.54% | 65.49% |
CMYK | 0.00% | 27.54% | 16.77% |
34.51% |
HEX | A7 | 79 | 8B |
Decimal | 167 | 121 | 139 |
Binary | 10100111 | 1111001 | 10001011 |
Octal | 247 | 171 | 213 |
Examples of css and html codes for elements with #A7798B color. Also use rgb(167,121,139) instead hex code.
.myTextColor { color: #A7798B; }
<p style="color:#A7798B">This sample text font color is #A7798B.</p>
This text font color is #A7798B.
.myBgColor { background-color: #A7798B; }
<div style="background-color:#A7798B">Inner text</div>
This div background color is #A7798B.
.myBorderColor { border: 1px solid #A7798B; }
<div style="border:3px solid #A7798B">Div</div>
This div border color is #A7798B.
.myOpacity80 { color: #A7798B; opacity: 0.8; }
<p style="color:#A7798B;opacity:0.8;">80%</p>
Text with #A7798B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A7798B;}
<p style="text-shadow: 3px 3px 1px #A7798B">Text here.</p>
This text has shadow with #A7798B color.
.textShadow {text-shadow: 3px 3px 1px #A7798B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A7798B, 5px 5px 20px red">Text here.</p>
This text has shadow with #A7798B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A7798B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A7798B, Direction=45, Strength=4)">Text</p>
This text has shadow with #A7798B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A7798B; -webkit-box-shadow: 1px 1px 3px 2px #A7798B; box-shadow: 1px 1px 3px 2px #A7798B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A7798B; -webkit-box-shadow: 1px 1px 3px 2px #A7798B; box-shadow:1px 1px 3px 2px #A7798B;">
Div content here</div>
This text has color #A7798B on black background.
This text has color #A7798B on white background.
This text has black color on #A7798B background.
This text has white color on #A7798B background.