HEX: #AF5F77
RGB: (175,95,119)
#AF5F77 contains mainly red and blue colors. Web safe color of #AF5F77 is #996666 (or #966).
#AF5F77 color RGB value is (175,95,119).
RGB: (175,95,119) (69%,37%,47%)
R 175 of 255 = 69%
G 95 of 255 = 37%
B 119 of 255 = 47%
R + G + B ~ 51%. #AF5F77 is middle color (not dark and not light).
R + G + B =
175 + 95 + 119 = 389 (100%)
R 175 of 389 ~ 44.99%
G 95 of 389 ~ 24.42%
B 119 of 389 ~ 30.59%
#AF5F77 color CMYK value is (0,46,32,31).
CMYK: (0,46,32,31) C0M46Y32K31 (0%,46%,32%,31%) (0.00/0.46/0.32/0.31)
AF | 5F | 77 | |
---|---|---|---|
RGB | 175 | 95 | 119 |
HSL | 342° | 33.33% | 52.94% |
HSB/HSV | 342° | 45.71% | 68.63% |
CMYK | 0.00% | 45.71% | 32.00% |
31.37% |
HEX | AF | 5F | 77 |
Decimal | 175 | 95 | 119 |
Binary | 10101111 | 1011111 | 1110111 |
Octal | 257 | 137 | 167 |
Examples of css and html codes for elements with #AF5F77 color. Also use rgb(175,95,119) instead hex code.
.myTextColor { color: #AF5F77; }
<p style="color:#AF5F77">This sample text font color is #AF5F77.</p>
This text font color is #AF5F77.
.myBgColor { background-color: #AF5F77; }
<div style="background-color:#AF5F77">Inner text</div>
This div background color is #AF5F77.
.myBorderColor { border: 1px solid #AF5F77; }
<div style="border:3px solid #AF5F77">Div</div>
This div border color is #AF5F77.
.myOpacity80 { color: #AF5F77; opacity: 0.8; }
<p style="color:#AF5F77;opacity:0.8;">80%</p>
Text with #AF5F77 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF5F77;}
<p style="text-shadow: 3px 3px 1px #AF5F77">Text here.</p>
This text has shadow with #AF5F77 color.
.textShadow {text-shadow: 3px 3px 1px #AF5F77, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF5F77, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF5F77 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF5F77, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF5F77, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF5F77 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF5F77; -webkit-box-shadow: 1px 1px 3px 2px #AF5F77; box-shadow: 1px 1px 3px 2px #AF5F77; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF5F77; -webkit-box-shadow: 1px 1px 3px 2px #AF5F77; box-shadow:1px 1px 3px 2px #AF5F77;">
Div content here</div>
This text has color #AF5F77 on black background.
This text has color #AF5F77 on white background.
This text has black color on #AF5F77 background.
This text has white color on #AF5F77 background.