HEX: #AC7E9B
RGB: (172,126,155)
#AC7E9B contains red, green and blue colors in about the same proportion. Web safe color of #AC7E9B is #996699 (or #969).
#AC7E9B color RGB value is (172,126,155).
RGB: (172,126,155) (67%,49%,61%)
R 172 of 255 = 67%
G 126 of 255 = 49%
B 155 of 255 = 61%
R + G + B ~ 59%. #AC7E9B is middle color (not dark and not light).
R + G + B =
172 + 126 + 155 = 453 (100%)
R 172 of 453 ~ 37.97%
G 126 of 453 ~ 27.81%
B 155 of 453 ~ 34.22%
#AC7E9B color CMYK value is (0,27,10,33).
CMYK: (0,27,10,33) C0M27Y10K33 (0%,27%,10%,33%) (0.00/0.27/0.10/0.33)
AC | 7E | 9B | |
---|---|---|---|
RGB | 172 | 126 | 155 |
HSL | 322° | 21.70% | 58.43% |
HSB/HSV | 322° | 26.74% | 67.45% |
CMYK | 0.00% | 26.74% | 9.88% |
32.55% |
HEX | AC | 7E | 9B |
Decimal | 172 | 126 | 155 |
Binary | 10101100 | 1111110 | 10011011 |
Octal | 254 | 176 | 233 |
Examples of css and html codes for elements with #AC7E9B color. Also use rgb(172,126,155) instead hex code.
.myTextColor { color: #AC7E9B; }
<p style="color:#AC7E9B">This sample text font color is #AC7E9B.</p>
This text font color is #AC7E9B.
.myBgColor { background-color: #AC7E9B; }
<div style="background-color:#AC7E9B">Inner text</div>
This div background color is #AC7E9B.
.myBorderColor { border: 1px solid #AC7E9B; }
<div style="border:3px solid #AC7E9B">Div</div>
This div border color is #AC7E9B.
.myOpacity80 { color: #AC7E9B; opacity: 0.8; }
<p style="color:#AC7E9B;opacity:0.8;">80%</p>
Text with #AC7E9B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC7E9B;}
<p style="text-shadow: 3px 3px 1px #AC7E9B">Text here.</p>
This text has shadow with #AC7E9B color.
.textShadow {text-shadow: 3px 3px 1px #AC7E9B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC7E9B, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC7E9B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC7E9B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC7E9B, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC7E9B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC7E9B; -webkit-box-shadow: 1px 1px 3px 2px #AC7E9B; box-shadow: 1px 1px 3px 2px #AC7E9B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC7E9B; -webkit-box-shadow: 1px 1px 3px 2px #AC7E9B; box-shadow:1px 1px 3px 2px #AC7E9B;">
Div content here</div>
This text has color #AC7E9B on black background.
This text has color #AC7E9B on white background.
This text has black color on #AC7E9B background.
This text has white color on #AC7E9B background.