HEX: #AF76BD
RGB: (175,118,189)
#AF76BD contains mainly red and blue colors. Web safe color of #AF76BD is #9966CC (or #96C).
#AF76BD color RGB value is (175,118,189).
RGB: (175,118,189) (69%,46%,74%)
R 175 of 255 = 69%
G 118 of 255 = 46%
B 189 of 255 = 74%
R + G + B ~ 63%. #AF76BD is quite light color.
R + G + B =
175 + 118 + 189 = 482 (100%)
R 175 of 482 ~ 36.31%
G 118 of 482 ~ 24.48%
B 189 of 482 ~ 39.21%
#AF76BD color CMYK value is (7,38,0,26).
CMYK: (7,38,0,26) C7M38Y0K26 (7%,38%,0%,26%) (0.07/0.38/0.00/0.26)
AF | 76 | BD | |
---|---|---|---|
RGB | 175 | 118 | 189 |
HSL | 288° | 34.98% | 60.20% |
HSB/HSV | 288° | 37.57% | 74.12% |
CMYK | 7.41% | 37.57% | 0.00% |
25.88% |
HEX | AF | 76 | BD |
Decimal | 175 | 118 | 189 |
Binary | 10101111 | 1110110 | 10111101 |
Octal | 257 | 166 | 275 |
Examples of css and html codes for elements with #AF76BD color. Also use rgb(175,118,189) instead hex code.
.myTextColor { color: #AF76BD; }
<p style="color:#AF76BD">This sample text font color is #AF76BD.</p>
This text font color is #AF76BD.
.myBgColor { background-color: #AF76BD; }
<div style="background-color:#AF76BD">Inner text</div>
This div background color is #AF76BD.
.myBorderColor { border: 1px solid #AF76BD; }
<div style="border:3px solid #AF76BD">Div</div>
This div border color is #AF76BD.
.myOpacity80 { color: #AF76BD; opacity: 0.8; }
<p style="color:#AF76BD;opacity:0.8;">80%</p>
Text with #AF76BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF76BD;}
<p style="text-shadow: 3px 3px 1px #AF76BD">Text here.</p>
This text has shadow with #AF76BD color.
.textShadow {text-shadow: 3px 3px 1px #AF76BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF76BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF76BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF76BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF76BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF76BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF76BD; -webkit-box-shadow: 1px 1px 3px 2px #AF76BD; box-shadow: 1px 1px 3px 2px #AF76BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF76BD; -webkit-box-shadow: 1px 1px 3px 2px #AF76BD; box-shadow:1px 1px 3px 2px #AF76BD;">
Div content here</div>
This text has color #AF76BD on black background.
This text has color #AF76BD on white background.
This text has black color on #AF76BD background.
This text has white color on #AF76BD background.