HEX: #AF757F
RGB: (175,117,127)
#AF757F contains red, green and blue colors in about the same proportion. Web safe color of #AF757F is #996666 (or #966).
#AF757F color RGB value is (175,117,127).
RGB: (175,117,127) (69%,46%,50%)
R 175 of 255 = 69%
G 117 of 255 = 46%
B 127 of 255 = 50%
R + G + B ~ 55%. #AF757F is middle color (not dark and not light).
R + G + B =
175 + 117 + 127 = 419 (100%)
R 175 of 419 ~ 41.77%
G 117 of 419 ~ 27.92%
B 127 of 419 ~ 30.31%
#AF757F color CMYK value is (0,33,27,31).
CMYK: (0,33,27,31) C0M33Y27K31 (0%,33%,27%,31%) (0.00/0.33/0.27/0.31)
AF | 75 | 7F | |
---|---|---|---|
RGB | 175 | 117 | 127 |
HSL | 350° | 26.61% | 57.25% |
HSB/HSV | 350° | 33.14% | 68.63% |
CMYK | 0.00% | 33.14% | 27.43% |
31.37% |
HEX | AF | 75 | 7F |
Decimal | 175 | 117 | 127 |
Binary | 10101111 | 1110101 | 1111111 |
Octal | 257 | 165 | 177 |
Examples of css and html codes for elements with #AF757F color. Also use rgb(175,117,127) instead hex code.
.myTextColor { color: #AF757F; }
<p style="color:#AF757F">This sample text font color is #AF757F.</p>
This text font color is #AF757F.
.myBgColor { background-color: #AF757F; }
<div style="background-color:#AF757F">Inner text</div>
This div background color is #AF757F.
.myBorderColor { border: 1px solid #AF757F; }
<div style="border:3px solid #AF757F">Div</div>
This div border color is #AF757F.
.myOpacity80 { color: #AF757F; opacity: 0.8; }
<p style="color:#AF757F;opacity:0.8;">80%</p>
Text with #AF757F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF757F;}
<p style="text-shadow: 3px 3px 1px #AF757F">Text here.</p>
This text has shadow with #AF757F color.
.textShadow {text-shadow: 3px 3px 1px #AF757F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF757F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF757F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF757F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF757F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF757F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF757F; -webkit-box-shadow: 1px 1px 3px 2px #AF757F; box-shadow: 1px 1px 3px 2px #AF757F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF757F; -webkit-box-shadow: 1px 1px 3px 2px #AF757F; box-shadow:1px 1px 3px 2px #AF757F;">
Div content here</div>
This text has color #AF757F on black background.
This text has color #AF757F on white background.
This text has black color on #AF757F background.
This text has white color on #AF757F background.