HEX: #AF767C
RGB: (175,118,124)
#AF767C contains red, green and blue colors in about the same proportion. Web safe color of #AF767C is #996666 (or #966).
#AF767C color RGB value is (175,118,124).
RGB: (175,118,124) (69%,46%,49%)
R 175 of 255 = 69%
G 118 of 255 = 46%
B 124 of 255 = 49%
R + G + B ~ 55%. #AF767C is middle color (not dark and not light).
R + G + B =
175 + 118 + 124 = 417 (100%)
R 175 of 417 ~ 41.97%
G 118 of 417 ~ 28.3%
B 124 of 417 ~ 29.74%
#AF767C color CMYK value is (0,33,29,31).
CMYK: (0,33,29,31) C0M33Y29K31 (0%,33%,29%,31%) (0.00/0.33/0.29/0.31)
AF | 76 | 7C | |
---|---|---|---|
RGB | 175 | 118 | 124 |
HSL | 354° | 26.27% | 57.45% |
HSB/HSV | 354° | 32.57% | 68.63% |
CMYK | 0.00% | 32.57% | 29.14% |
31.37% |
HEX | AF | 76 | 7C |
Decimal | 175 | 118 | 124 |
Binary | 10101111 | 1110110 | 1111100 |
Octal | 257 | 166 | 174 |
Examples of css and html codes for elements with #AF767C color. Also use rgb(175,118,124) instead hex code.
.myTextColor { color: #AF767C; }
<p style="color:#AF767C">This sample text font color is #AF767C.</p>
This text font color is #AF767C.
.myBgColor { background-color: #AF767C; }
<div style="background-color:#AF767C">Inner text</div>
This div background color is #AF767C.
.myBorderColor { border: 1px solid #AF767C; }
<div style="border:3px solid #AF767C">Div</div>
This div border color is #AF767C.
.myOpacity80 { color: #AF767C; opacity: 0.8; }
<p style="color:#AF767C;opacity:0.8;">80%</p>
Text with #AF767C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF767C;}
<p style="text-shadow: 3px 3px 1px #AF767C">Text here.</p>
This text has shadow with #AF767C color.
.textShadow {text-shadow: 3px 3px 1px #AF767C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF767C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF767C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF767C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF767C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF767C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF767C; -webkit-box-shadow: 1px 1px 3px 2px #AF767C; box-shadow: 1px 1px 3px 2px #AF767C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF767C; -webkit-box-shadow: 1px 1px 3px 2px #AF767C; box-shadow:1px 1px 3px 2px #AF767C;">
Div content here</div>
This text has color #AF767C on black background.
This text has color #AF767C on white background.
This text has black color on #AF767C background.
This text has white color on #AF767C background.