HEX: #AC427E
RGB: (172,66,126)
#AC427E contains mainly red and blue colors. Web safe color of #AC427E is #993366 (or #936).
#AC427E color RGB value is (172,66,126).
RGB: (172,66,126) (67%,26%,49%)
R 172 of 255 = 67%
G 66 of 255 = 26%
B 126 of 255 = 49%
R + G + B ~ 47%. #AC427E is middle color (not dark and not light).
R + G + B =
172 + 66 + 126 = 364 (100%)
R 172 of 364 ~ 47.25%
G 66 of 364 ~ 18.13%
B 126 of 364 ~ 34.62%
#AC427E color CMYK value is (0,62,27,33).
CMYK: (0,62,27,33) C0M62Y27K33 (0%,62%,27%,33%) (0.00/0.62/0.27/0.33)
AC | 42 | 7E | |
---|---|---|---|
RGB | 172 | 66 | 126 |
HSL | 326° | 44.54% | 46.67% |
HSB/HSV | 326° | 61.63% | 67.45% |
CMYK | 0.00% | 61.63% | 26.74% |
32.55% |
HEX | AC | 42 | 7E |
Decimal | 172 | 66 | 126 |
Binary | 10101100 | 1000010 | 1111110 |
Octal | 254 | 102 | 176 |
Examples of css and html codes for elements with #AC427E color. Also use rgb(172,66,126) instead hex code.
.myTextColor { color: #AC427E; }
<p style="color:#AC427E">This sample text font color is #AC427E.</p>
This text font color is #AC427E.
.myBgColor { background-color: #AC427E; }
<div style="background-color:#AC427E">Inner text</div>
This div background color is #AC427E.
.myBorderColor { border: 1px solid #AC427E; }
<div style="border:3px solid #AC427E">Div</div>
This div border color is #AC427E.
.myOpacity80 { color: #AC427E; opacity: 0.8; }
<p style="color:#AC427E;opacity:0.8;">80%</p>
Text with #AC427E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC427E;}
<p style="text-shadow: 3px 3px 1px #AC427E">Text here.</p>
This text has shadow with #AC427E color.
.textShadow {text-shadow: 3px 3px 1px #AC427E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC427E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC427E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC427E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC427E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC427E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC427E; -webkit-box-shadow: 1px 1px 3px 2px #AC427E; box-shadow: 1px 1px 3px 2px #AC427E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC427E; -webkit-box-shadow: 1px 1px 3px 2px #AC427E; box-shadow:1px 1px 3px 2px #AC427E;">
Div content here</div>
This text has color #AC427E on black background.
This text has color #AC427E on white background.
This text has black color on #AC427E background.
This text has white color on #AC427E background.