HEX: #AF717F
RGB: (175,113,127)
#AF717F contains mainly red and blue colors. Web safe color of #AF717F is #996666 (or #966).
#AF717F color RGB value is (175,113,127).
RGB: (175,113,127) (69%,44%,50%)
R 175 of 255 = 69%
G 113 of 255 = 44%
B 127 of 255 = 50%
R + G + B ~ 54%. #AF717F is middle color (not dark and not light).
R + G + B =
175 + 113 + 127 = 415 (100%)
R 175 of 415 ~ 42.17%
G 113 of 415 ~ 27.23%
B 127 of 415 ~ 30.6%
#AF717F color CMYK value is (0,35,27,31).
CMYK: (0,35,27,31) C0M35Y27K31 (0%,35%,27%,31%) (0.00/0.35/0.27/0.31)
AF | 71 | 7F | |
---|---|---|---|
RGB | 175 | 113 | 127 |
HSL | 346° | 27.93% | 56.47% |
HSB/HSV | 346° | 35.43% | 68.63% |
CMYK | 0.00% | 35.43% | 27.43% |
31.37% |
HEX | AF | 71 | 7F |
Decimal | 175 | 113 | 127 |
Binary | 10101111 | 1110001 | 1111111 |
Octal | 257 | 161 | 177 |
Examples of css and html codes for elements with #AF717F color. Also use rgb(175,113,127) instead hex code.
.myTextColor { color: #AF717F; }
<p style="color:#AF717F">This sample text font color is #AF717F.</p>
This text font color is #AF717F.
.myBgColor { background-color: #AF717F; }
<div style="background-color:#AF717F">Inner text</div>
This div background color is #AF717F.
.myBorderColor { border: 1px solid #AF717F; }
<div style="border:3px solid #AF717F">Div</div>
This div border color is #AF717F.
.myOpacity80 { color: #AF717F; opacity: 0.8; }
<p style="color:#AF717F;opacity:0.8;">80%</p>
Text with #AF717F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF717F;}
<p style="text-shadow: 3px 3px 1px #AF717F">Text here.</p>
This text has shadow with #AF717F color.
.textShadow {text-shadow: 3px 3px 1px #AF717F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF717F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF717F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF717F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF717F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF717F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF717F; -webkit-box-shadow: 1px 1px 3px 2px #AF717F; box-shadow: 1px 1px 3px 2px #AF717F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF717F; -webkit-box-shadow: 1px 1px 3px 2px #AF717F; box-shadow:1px 1px 3px 2px #AF717F;">
Div content here</div>
This text has color #AF717F on black background.
This text has color #AF717F on white background.
This text has black color on #AF717F background.
This text has white color on #AF717F background.