HEX: #AF6F78
RGB: (175,111,120)
#AF6F78 contains mainly red and blue colors. Web safe color of #AF6F78 is #996666 (or #966).
#AF6F78 color RGB value is (175,111,120).
RGB: (175,111,120) (69%,44%,47%)
R 175 of 255 = 69%
G 111 of 255 = 44%
B 120 of 255 = 47%
R + G + B ~ 53%. #AF6F78 is middle color (not dark and not light).
R + G + B =
175 + 111 + 120 = 406 (100%)
R 175 of 406 ~ 43.1%
G 111 of 406 ~ 27.34%
B 120 of 406 ~ 29.56%
#AF6F78 color CMYK value is (0,37,31,31).
CMYK: (0,37,31,31) C0M37Y31K31 (0%,37%,31%,31%) (0.00/0.37/0.31/0.31)
AF | 6F | 78 | |
---|---|---|---|
RGB | 175 | 111 | 120 |
HSL | 352° | 28.57% | 56.08% |
HSB/HSV | 352° | 36.57% | 68.63% |
CMYK | 0.00% | 36.57% | 31.43% |
31.37% |
HEX | AF | 6F | 78 |
Decimal | 175 | 111 | 120 |
Binary | 10101111 | 1101111 | 1111000 |
Octal | 257 | 157 | 170 |
Examples of css and html codes for elements with #AF6F78 color. Also use rgb(175,111,120) instead hex code.
.myTextColor { color: #AF6F78; }
<p style="color:#AF6F78">This sample text font color is #AF6F78.</p>
This text font color is #AF6F78.
.myBgColor { background-color: #AF6F78; }
<div style="background-color:#AF6F78">Inner text</div>
This div background color is #AF6F78.
.myBorderColor { border: 1px solid #AF6F78; }
<div style="border:3px solid #AF6F78">Div</div>
This div border color is #AF6F78.
.myOpacity80 { color: #AF6F78; opacity: 0.8; }
<p style="color:#AF6F78;opacity:0.8;">80%</p>
Text with #AF6F78 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF6F78;}
<p style="text-shadow: 3px 3px 1px #AF6F78">Text here.</p>
This text has shadow with #AF6F78 color.
.textShadow {text-shadow: 3px 3px 1px #AF6F78, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF6F78, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF6F78 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF6F78, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF6F78, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF6F78 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF6F78; -webkit-box-shadow: 1px 1px 3px 2px #AF6F78; box-shadow: 1px 1px 3px 2px #AF6F78; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF6F78; -webkit-box-shadow: 1px 1px 3px 2px #AF6F78; box-shadow:1px 1px 3px 2px #AF6F78;">
Div content here</div>
This text has color #AF6F78 on black background.
This text has color #AF6F78 on white background.
This text has black color on #AF6F78 background.
This text has white color on #AF6F78 background.