HEX: #A877A1
RGB: (168,119,161)
#A877A1 contains red, green and blue colors in about the same proportion. Web safe color of #A877A1 is #996699 (or #969).
#A877A1 color RGB value is (168,119,161).
RGB: (168,119,161) (66%,47%,63%)
R 168 of 255 = 66%
G 119 of 255 = 47%
B 161 of 255 = 63%
R + G + B ~ 59%. #A877A1 is middle color (not dark and not light).
R + G + B =
168 + 119 + 161 = 448 (100%)
R 168 of 448 ~ 37.5%
G 119 of 448 ~ 26.56%
B 161 of 448 ~ 35.94%
#A877A1 color CMYK value is (0,29,4,34).
CMYK: (0,29,4,34) C0M29Y4K34 (0%,29%,4%,34%) (0.00/0.29/0.04/0.34)
A8 | 77 | A1 | |
---|---|---|---|
RGB | 168 | 119 | 161 |
HSL | 309° | 21.97% | 56.27% |
HSB/HSV | 309° | 29.17% | 65.88% |
CMYK | 0.00% | 29.17% | 4.17% |
34.12% |
HEX | A8 | 77 | A1 |
Decimal | 168 | 119 | 161 |
Binary | 10101000 | 1110111 | 10100001 |
Octal | 250 | 167 | 241 |
Examples of css and html codes for elements with #A877A1 color. Also use rgb(168,119,161) instead hex code.
.myTextColor { color: #A877A1; }
<p style="color:#A877A1">This sample text font color is #A877A1.</p>
This text font color is #A877A1.
.myBgColor { background-color: #A877A1; }
<div style="background-color:#A877A1">Inner text</div>
This div background color is #A877A1.
.myBorderColor { border: 1px solid #A877A1; }
<div style="border:3px solid #A877A1">Div</div>
This div border color is #A877A1.
.myOpacity80 { color: #A877A1; opacity: 0.8; }
<p style="color:#A877A1;opacity:0.8;">80%</p>
Text with #A877A1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A877A1;}
<p style="text-shadow: 3px 3px 1px #A877A1">Text here.</p>
This text has shadow with #A877A1 color.
.textShadow {text-shadow: 3px 3px 1px #A877A1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A877A1, 5px 5px 20px red">Text here.</p>
This text has shadow with #A877A1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A877A1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A877A1, Direction=45, Strength=4)">Text</p>
This text has shadow with #A877A1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A877A1; -webkit-box-shadow: 1px 1px 3px 2px #A877A1; box-shadow: 1px 1px 3px 2px #A877A1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A877A1; -webkit-box-shadow: 1px 1px 3px 2px #A877A1; box-shadow:1px 1px 3px 2px #A877A1;">
Div content here</div>
This text has color #A877A1 on black background.
This text has color #A877A1 on white background.
This text has black color on #A877A1 background.
This text has white color on #A877A1 background.