HEX: #AF87CD
RGB: (175,135,205)
#AF87CD contains mainly red and blue colors. Web safe color of #AF87CD is #9999CC (or #99C).
#AF87CD color RGB value is (175,135,205).
RGB: (175,135,205) (69%,53%,80%)
R 175 of 255 = 69%
G 135 of 255 = 53%
B 205 of 255 = 80%
R + G + B ~ 67%. #AF87CD is quite light color.
R + G + B =
175 + 135 + 205 = 515 (100%)
R 175 of 515 ~ 33.98%
G 135 of 515 ~ 26.21%
B 205 of 515 ~ 39.81%
#AF87CD color CMYK value is (15,34,0,20).
CMYK: (15,34,0,20) C15M34Y0K20 (15%,34%,0%,20%) (0.15/0.34/0.00/0.20)
AF | 87 | CD | |
---|---|---|---|
RGB | 175 | 135 | 205 |
HSL | 274° | 41.18% | 66.67% |
HSB/HSV | 274° | 34.15% | 80.39% |
CMYK | 14.63% | 34.15% | 0.00% |
19.61% |
HEX | AF | 87 | CD |
Decimal | 175 | 135 | 205 |
Binary | 10101111 | 10000111 | 11001101 |
Octal | 257 | 207 | 315 |
Examples of css and html codes for elements with #AF87CD color. Also use rgb(175,135,205) instead hex code.
.myTextColor { color: #AF87CD; }
<p style="color:#AF87CD">This sample text font color is #AF87CD.</p>
This text font color is #AF87CD.
.myBgColor { background-color: #AF87CD; }
<div style="background-color:#AF87CD">Inner text</div>
This div background color is #AF87CD.
.myBorderColor { border: 1px solid #AF87CD; }
<div style="border:3px solid #AF87CD">Div</div>
This div border color is #AF87CD.
.myOpacity80 { color: #AF87CD; opacity: 0.8; }
<p style="color:#AF87CD;opacity:0.8;">80%</p>
Text with #AF87CD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF87CD;}
<p style="text-shadow: 3px 3px 1px #AF87CD">Text here.</p>
This text has shadow with #AF87CD color.
.textShadow {text-shadow: 3px 3px 1px #AF87CD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF87CD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF87CD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF87CD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF87CD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF87CD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF87CD; -webkit-box-shadow: 1px 1px 3px 2px #AF87CD; box-shadow: 1px 1px 3px 2px #AF87CD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF87CD; -webkit-box-shadow: 1px 1px 3px 2px #AF87CD; box-shadow:1px 1px 3px 2px #AF87CD;">
Div content here</div>
This text has color #AF87CD on black background.
This text has color #AF87CD on white background.
This text has black color on #AF87CD background.
This text has white color on #AF87CD background.