HEX: #AF87BC
RGB: (175,135,188)
#AF87BC contains red, green and blue colors in about the same proportion. Web safe color of #AF87BC is #9999CC (or #99C).
#AF87BC color RGB value is (175,135,188).
RGB: (175,135,188) (69%,53%,74%)
R 175 of 255 = 69%
G 135 of 255 = 53%
B 188 of 255 = 74%
R + G + B ~ 65%. #AF87BC is quite light color.
R + G + B =
175 + 135 + 188 = 498 (100%)
R 175 of 498 ~ 35.14%
G 135 of 498 ~ 27.11%
B 188 of 498 ~ 37.75%
#AF87BC color CMYK value is (7,28,0,26).
CMYK: (7,28,0,26) C7M28Y0K26 (7%,28%,0%,26%) (0.07/0.28/0.00/0.26)
AF | 87 | BC | |
---|---|---|---|
RGB | 175 | 135 | 188 |
HSL | 285° | 28.34% | 63.33% |
HSB/HSV | 285° | 28.19% | 73.73% |
CMYK | 6.91% | 28.19% | 0.00% |
26.27% |
HEX | AF | 87 | BC |
Decimal | 175 | 135 | 188 |
Binary | 10101111 | 10000111 | 10111100 |
Octal | 257 | 207 | 274 |
Examples of css and html codes for elements with #AF87BC color. Also use rgb(175,135,188) instead hex code.
.myTextColor { color: #AF87BC; }
<p style="color:#AF87BC">This sample text font color is #AF87BC.</p>
This text font color is #AF87BC.
.myBgColor { background-color: #AF87BC; }
<div style="background-color:#AF87BC">Inner text</div>
This div background color is #AF87BC.
.myBorderColor { border: 1px solid #AF87BC; }
<div style="border:3px solid #AF87BC">Div</div>
This div border color is #AF87BC.
.myOpacity80 { color: #AF87BC; opacity: 0.8; }
<p style="color:#AF87BC;opacity:0.8;">80%</p>
Text with #AF87BC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF87BC;}
<p style="text-shadow: 3px 3px 1px #AF87BC">Text here.</p>
This text has shadow with #AF87BC color.
.textShadow {text-shadow: 3px 3px 1px #AF87BC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF87BC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF87BC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF87BC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF87BC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF87BC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF87BC; -webkit-box-shadow: 1px 1px 3px 2px #AF87BC; box-shadow: 1px 1px 3px 2px #AF87BC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF87BC; -webkit-box-shadow: 1px 1px 3px 2px #AF87BC; box-shadow:1px 1px 3px 2px #AF87BC;">
Div content here</div>
This text has color #AF87BC on black background.
This text has color #AF87BC on white background.
This text has black color on #AF87BC background.
This text has white color on #AF87BC background.