HEX: #AF71B5
RGB: (175,113,181)
#AF71B5 contains mainly red and blue colors. Web safe color of #AF71B5 is #9966CC (or #96C).
#AF71B5 color RGB value is (175,113,181).
RGB: (175,113,181) (69%,44%,71%)
R 175 of 255 = 69%
G 113 of 255 = 44%
B 181 of 255 = 71%
R + G + B ~ 61%. #AF71B5 is quite light color.
R + G + B =
175 + 113 + 181 = 469 (100%)
R 175 of 469 ~ 37.31%
G 113 of 469 ~ 24.09%
B 181 of 469 ~ 38.59%
#AF71B5 color CMYK value is (3,38,0,29).
CMYK: (3,38,0,29) C3M38Y0K29 (3%,38%,0%,29%) (0.03/0.38/0.00/0.29)
AF | 71 | B5 | |
---|---|---|---|
RGB | 175 | 113 | 181 |
HSL | 295° | 31.48% | 57.65% |
HSB/HSV | 295° | 37.57% | 70.98% |
CMYK | 3.31% | 37.57% | 0.00% |
29.02% |
HEX | AF | 71 | B5 |
Decimal | 175 | 113 | 181 |
Binary | 10101111 | 1110001 | 10110101 |
Octal | 257 | 161 | 265 |
Examples of css and html codes for elements with #AF71B5 color. Also use rgb(175,113,181) instead hex code.
.myTextColor { color: #AF71B5; }
<p style="color:#AF71B5">This sample text font color is #AF71B5.</p>
This text font color is #AF71B5.
.myBgColor { background-color: #AF71B5; }
<div style="background-color:#AF71B5">Inner text</div>
This div background color is #AF71B5.
.myBorderColor { border: 1px solid #AF71B5; }
<div style="border:3px solid #AF71B5">Div</div>
This div border color is #AF71B5.
.myOpacity80 { color: #AF71B5; opacity: 0.8; }
<p style="color:#AF71B5;opacity:0.8;">80%</p>
Text with #AF71B5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF71B5;}
<p style="text-shadow: 3px 3px 1px #AF71B5">Text here.</p>
This text has shadow with #AF71B5 color.
.textShadow {text-shadow: 3px 3px 1px #AF71B5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF71B5, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF71B5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF71B5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF71B5, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF71B5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF71B5; -webkit-box-shadow: 1px 1px 3px 2px #AF71B5; box-shadow: 1px 1px 3px 2px #AF71B5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF71B5; -webkit-box-shadow: 1px 1px 3px 2px #AF71B5; box-shadow:1px 1px 3px 2px #AF71B5;">
Div content here</div>
This text has color #AF71B5 on black background.
This text has color #AF71B5 on white background.
This text has black color on #AF71B5 background.
This text has white color on #AF71B5 background.