HEX: #AF7BDD
RGB: (175,123,221)
#AF7BDD contains mainly red and blue colors. Web safe color of #AF7BDD is #9966CC (or #96C).
#AF7BDD color RGB value is (175,123,221).
RGB: (175,123,221) (69%,48%,87%)
R 175 of 255 = 69%
G 123 of 255 = 48%
B 221 of 255 = 87%
R + G + B ~ 68%. #AF7BDD is quite light color.
R + G + B =
175 + 123 + 221 = 519 (100%)
R 175 of 519 ~ 33.72%
G 123 of 519 ~ 23.7%
B 221 of 519 ~ 42.58%
#AF7BDD color CMYK value is (21,44,0,13).
CMYK: (21,44,0,13) C21M44Y0K13 (21%,44%,0%,13%) (0.21/0.44/0.00/0.13)
AF | 7B | DD | |
---|---|---|---|
RGB | 175 | 123 | 221 |
HSL | 272° | 59.04% | 67.45% |
HSB/HSV | 272° | 44.34% | 86.67% |
CMYK | 20.81% | 44.34% | 0.00% |
13.33% |
HEX | AF | 7B | DD |
Decimal | 175 | 123 | 221 |
Binary | 10101111 | 1111011 | 11011101 |
Octal | 257 | 173 | 335 |
Examples of css and html codes for elements with #AF7BDD color. Also use rgb(175,123,221) instead hex code.
.myTextColor { color: #AF7BDD; }
<p style="color:#AF7BDD">This sample text font color is #AF7BDD.</p>
This text font color is #AF7BDD.
.myBgColor { background-color: #AF7BDD; }
<div style="background-color:#AF7BDD">Inner text</div>
This div background color is #AF7BDD.
.myBorderColor { border: 1px solid #AF7BDD; }
<div style="border:3px solid #AF7BDD">Div</div>
This div border color is #AF7BDD.
.myOpacity80 { color: #AF7BDD; opacity: 0.8; }
<p style="color:#AF7BDD;opacity:0.8;">80%</p>
Text with #AF7BDD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF7BDD;}
<p style="text-shadow: 3px 3px 1px #AF7BDD">Text here.</p>
This text has shadow with #AF7BDD color.
.textShadow {text-shadow: 3px 3px 1px #AF7BDD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF7BDD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF7BDD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF7BDD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF7BDD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF7BDD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF7BDD; -webkit-box-shadow: 1px 1px 3px 2px #AF7BDD; box-shadow: 1px 1px 3px 2px #AF7BDD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF7BDD; -webkit-box-shadow: 1px 1px 3px 2px #AF7BDD; box-shadow:1px 1px 3px 2px #AF7BDD;">
Div content here</div>
This text has color #AF7BDD on black background.
This text has color #AF7BDD on white background.
This text has black color on #AF7BDD background.
This text has white color on #AF7BDD background.