HEX: #AC4790
RGB: (172,71,144)
#AC4790 contains mainly red and blue colors. Web safe color of #AC4790 is #993399 (or #939).
#AC4790 color RGB value is (172,71,144).
RGB: (172,71,144) (67%,28%,56%)
R 172 of 255 = 67%
G 71 of 255 = 28%
B 144 of 255 = 56%
R + G + B ~ 50%. #AC4790 is middle color (not dark and not light).
R + G + B =
172 + 71 + 144 = 387 (100%)
R 172 of 387 ~ 44.44%
G 71 of 387 ~ 18.35%
B 144 of 387 ~ 37.21%
#AC4790 color CMYK value is (0,59,16,33).
CMYK: (0,59,16,33) C0M59Y16K33 (0%,59%,16%,33%) (0.00/0.59/0.16/0.33)
AC | 47 | 90 | |
---|---|---|---|
RGB | 172 | 71 | 144 |
HSL | 317° | 41.56% | 47.65% |
HSB/HSV | 317° | 58.72% | 67.45% |
CMYK | 0.00% | 58.72% | 16.28% |
32.55% |
HEX | AC | 47 | 90 |
Decimal | 172 | 71 | 144 |
Binary | 10101100 | 1000111 | 10010000 |
Octal | 254 | 107 | 220 |
Examples of css and html codes for elements with #AC4790 color. Also use rgb(172,71,144) instead hex code.
.myTextColor { color: #AC4790; }
<p style="color:#AC4790">This sample text font color is #AC4790.</p>
This text font color is #AC4790.
.myBgColor { background-color: #AC4790; }
<div style="background-color:#AC4790">Inner text</div>
This div background color is #AC4790.
.myBorderColor { border: 1px solid #AC4790; }
<div style="border:3px solid #AC4790">Div</div>
This div border color is #AC4790.
.myOpacity80 { color: #AC4790; opacity: 0.8; }
<p style="color:#AC4790;opacity:0.8;">80%</p>
Text with #AC4790 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC4790;}
<p style="text-shadow: 3px 3px 1px #AC4790">Text here.</p>
This text has shadow with #AC4790 color.
.textShadow {text-shadow: 3px 3px 1px #AC4790, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC4790, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC4790 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC4790, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC4790, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC4790 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC4790; -webkit-box-shadow: 1px 1px 3px 2px #AC4790; box-shadow: 1px 1px 3px 2px #AC4790; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC4790; -webkit-box-shadow: 1px 1px 3px 2px #AC4790; box-shadow:1px 1px 3px 2px #AC4790;">
Div content here</div>
This text has color #AC4790 on black background.
This text has color #AC4790 on white background.
This text has black color on #AC4790 background.
This text has white color on #AC4790 background.