HEX: #AF77B2
RGB: (175,119,178)
#AF77B2 contains red, green and blue colors in about the same proportion. Web safe color of #AF77B2 is #996699 (or #969).
#AF77B2 color RGB value is (175,119,178).
RGB: (175,119,178) (69%,47%,70%)
R 175 of 255 = 69%
G 119 of 255 = 47%
B 178 of 255 = 70%
R + G + B ~ 62%. #AF77B2 is quite light color.
R + G + B =
175 + 119 + 178 = 472 (100%)
R 175 of 472 ~ 37.08%
G 119 of 472 ~ 25.21%
B 178 of 472 ~ 37.71%
#AF77B2 color CMYK value is (2,33,0,30).
CMYK: (2,33,0,30) C2M33Y0K30 (2%,33%,0%,30%) (0.02/0.33/0.00/0.30)
AF | 77 | B2 | |
---|---|---|---|
RGB | 175 | 119 | 178 |
HSL | 297° | 27.70% | 58.24% |
HSB/HSV | 297° | 33.15% | 69.80% |
CMYK | 1.69% | 33.15% | 0.00% |
30.20% |
HEX | AF | 77 | B2 |
Decimal | 175 | 119 | 178 |
Binary | 10101111 | 1110111 | 10110010 |
Octal | 257 | 167 | 262 |
Examples of css and html codes for elements with #AF77B2 color. Also use rgb(175,119,178) instead hex code.
.myTextColor { color: #AF77B2; }
<p style="color:#AF77B2">This sample text font color is #AF77B2.</p>
This text font color is #AF77B2.
.myBgColor { background-color: #AF77B2; }
<div style="background-color:#AF77B2">Inner text</div>
This div background color is #AF77B2.
.myBorderColor { border: 1px solid #AF77B2; }
<div style="border:3px solid #AF77B2">Div</div>
This div border color is #AF77B2.
.myOpacity80 { color: #AF77B2; opacity: 0.8; }
<p style="color:#AF77B2;opacity:0.8;">80%</p>
Text with #AF77B2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF77B2;}
<p style="text-shadow: 3px 3px 1px #AF77B2">Text here.</p>
This text has shadow with #AF77B2 color.
.textShadow {text-shadow: 3px 3px 1px #AF77B2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF77B2, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF77B2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF77B2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF77B2, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF77B2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF77B2; -webkit-box-shadow: 1px 1px 3px 2px #AF77B2; box-shadow: 1px 1px 3px 2px #AF77B2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF77B2; -webkit-box-shadow: 1px 1px 3px 2px #AF77B2; box-shadow:1px 1px 3px 2px #AF77B2;">
Div content here</div>
This text has color #AF77B2 on black background.
This text has color #AF77B2 on white background.
This text has black color on #AF77B2 background.
This text has white color on #AF77B2 background.