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