HEX: #AF85DC
RGB: (175,133,220)
#AF85DC contains mainly red and blue colors. Web safe color of #AF85DC is #9999CC (or #99C).
#AF85DC color RGB value is (175,133,220).
RGB: (175,133,220) (69%,52%,86%)
R 175 of 255 = 69%
G 133 of 255 = 52%
B 220 of 255 = 86%
R + G + B ~ 69%. #AF85DC is quite light color.
R + G + B =
175 + 133 + 220 = 528 (100%)
R 175 of 528 ~ 33.14%
G 133 of 528 ~ 25.19%
B 220 of 528 ~ 41.67%
#AF85DC color CMYK value is (20,40,0,14).
CMYK: (20,40,0,14) C20M40Y0K14 (20%,40%,0%,14%) (0.20/0.40/0.00/0.14)
AF | 85 | DC | |
---|---|---|---|
RGB | 175 | 133 | 220 |
HSL | 269° | 55.41% | 69.22% |
HSB/HSV | 269° | 39.55% | 86.27% |
CMYK | 20.45% | 39.55% | 0.00% |
13.73% |
HEX | AF | 85 | DC |
Decimal | 175 | 133 | 220 |
Binary | 10101111 | 10000101 | 11011100 |
Octal | 257 | 205 | 334 |
Examples of css and html codes for elements with #AF85DC color. Also use rgb(175,133,220) instead hex code.
.myTextColor { color: #AF85DC; }
<p style="color:#AF85DC">This sample text font color is #AF85DC.</p>
This text font color is #AF85DC.
.myBgColor { background-color: #AF85DC; }
<div style="background-color:#AF85DC">Inner text</div>
This div background color is #AF85DC.
.myBorderColor { border: 1px solid #AF85DC; }
<div style="border:3px solid #AF85DC">Div</div>
This div border color is #AF85DC.
.myOpacity80 { color: #AF85DC; opacity: 0.8; }
<p style="color:#AF85DC;opacity:0.8;">80%</p>
Text with #AF85DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF85DC;}
<p style="text-shadow: 3px 3px 1px #AF85DC">Text here.</p>
This text has shadow with #AF85DC color.
.textShadow {text-shadow: 3px 3px 1px #AF85DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF85DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF85DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF85DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF85DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF85DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF85DC; -webkit-box-shadow: 1px 1px 3px 2px #AF85DC; box-shadow: 1px 1px 3px 2px #AF85DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF85DC; -webkit-box-shadow: 1px 1px 3px 2px #AF85DC; box-shadow:1px 1px 3px 2px #AF85DC;">
Div content here</div>
This text has color #AF85DC on black background.
This text has color #AF85DC on white background.
This text has black color on #AF85DC background.
This text has white color on #AF85DC background.