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