HEX: #AF7EBF
RGB: (175,126,191)
#AF7EBF contains mainly red and blue colors. Web safe color of #AF7EBF is #9966CC (or #96C).
#AF7EBF color RGB value is (175,126,191).
RGB: (175,126,191) (69%,49%,75%)
R 175 of 255 = 69%
G 126 of 255 = 49%
B 191 of 255 = 75%
R + G + B ~ 64%. #AF7EBF is quite light color.
R + G + B =
175 + 126 + 191 = 492 (100%)
R 175 of 492 ~ 35.57%
G 126 of 492 ~ 25.61%
B 191 of 492 ~ 38.82%
#AF7EBF color CMYK value is (8,34,0,25).
CMYK: (8,34,0,25) C8M34Y0K25 (8%,34%,0%,25%) (0.08/0.34/0.00/0.25)
AF | 7E | BF | |
---|---|---|---|
RGB | 175 | 126 | 191 |
HSL | 285° | 33.68% | 62.16% |
HSB/HSV | 285° | 34.03% | 74.90% |
CMYK | 8.38% | 34.03% | 0.00% |
25.10% |
HEX | AF | 7E | BF |
Decimal | 175 | 126 | 191 |
Binary | 10101111 | 1111110 | 10111111 |
Octal | 257 | 176 | 277 |
Examples of css and html codes for elements with #AF7EBF color. Also use rgb(175,126,191) instead hex code.
.myTextColor { color: #AF7EBF; }
<p style="color:#AF7EBF">This sample text font color is #AF7EBF.</p>
This text font color is #AF7EBF.
.myBgColor { background-color: #AF7EBF; }
<div style="background-color:#AF7EBF">Inner text</div>
This div background color is #AF7EBF.
.myBorderColor { border: 1px solid #AF7EBF; }
<div style="border:3px solid #AF7EBF">Div</div>
This div border color is #AF7EBF.
.myOpacity80 { color: #AF7EBF; opacity: 0.8; }
<p style="color:#AF7EBF;opacity:0.8;">80%</p>
Text with #AF7EBF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF7EBF;}
<p style="text-shadow: 3px 3px 1px #AF7EBF">Text here.</p>
This text has shadow with #AF7EBF color.
.textShadow {text-shadow: 3px 3px 1px #AF7EBF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF7EBF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF7EBF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF7EBF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF7EBF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF7EBF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF7EBF; -webkit-box-shadow: 1px 1px 3px 2px #AF7EBF; box-shadow: 1px 1px 3px 2px #AF7EBF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF7EBF; -webkit-box-shadow: 1px 1px 3px 2px #AF7EBF; box-shadow:1px 1px 3px 2px #AF7EBF;">
Div content here</div>
This text has color #AF7EBF on black background.
This text has color #AF7EBF on white background.
This text has black color on #AF7EBF background.
This text has white color on #AF7EBF background.