HEX: #AC7DFA
RGB: (172,125,250)
#AC7DFA contains mainly blue color. Web safe color of #AC7DFA is #9966FF (or #96F).
#AC7DFA color RGB value is (172,125,250).
RGB: (172,125,250) (67%,49%,98%)
R 172 of 255 = 67%
G 125 of 255 = 49%
B 250 of 255 = 98%
R + G + B ~ 71%. #AC7DFA is quite light color.
R + G + B =
172 + 125 + 250 = 547 (100%)
R 172 of 547 ~ 31.44%
G 125 of 547 ~ 22.85%
B 250 of 547 ~ 45.7%
#AC7DFA color CMYK value is (31,50,0,2).
CMYK: (31,50,0,2) C31M50Y0K2 (31%,50%,0%,2%) (0.31/0.50/0.00/0.02)
AC | 7D | FA | |
---|---|---|---|
RGB | 172 | 125 | 250 |
HSL | 263° | 92.59% | 73.53% |
HSB/HSV | 263° | 50.00% | 98.04% |
CMYK | 31.20% | 50.00% | 0.00% |
1.96% |
HEX | AC | 7D | FA |
Decimal | 172 | 125 | 250 |
Binary | 10101100 | 1111101 | 11111010 |
Octal | 254 | 175 | 372 |
Examples of css and html codes for elements with #AC7DFA color. Also use rgb(172,125,250) instead hex code.
.myTextColor { color: #AC7DFA; }
<p style="color:#AC7DFA">This sample text font color is #AC7DFA.</p>
This text font color is #AC7DFA.
.myBgColor { background-color: #AC7DFA; }
<div style="background-color:#AC7DFA">Inner text</div>
This div background color is #AC7DFA.
.myBorderColor { border: 1px solid #AC7DFA; }
<div style="border:3px solid #AC7DFA">Div</div>
This div border color is #AC7DFA.
.myOpacity80 { color: #AC7DFA; opacity: 0.8; }
<p style="color:#AC7DFA;opacity:0.8;">80%</p>
Text with #AC7DFA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC7DFA;}
<p style="text-shadow: 3px 3px 1px #AC7DFA">Text here.</p>
This text has shadow with #AC7DFA color.
.textShadow {text-shadow: 3px 3px 1px #AC7DFA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC7DFA, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC7DFA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC7DFA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC7DFA, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC7DFA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC7DFA; -webkit-box-shadow: 1px 1px 3px 2px #AC7DFA; box-shadow: 1px 1px 3px 2px #AC7DFA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC7DFA; -webkit-box-shadow: 1px 1px 3px 2px #AC7DFA; box-shadow:1px 1px 3px 2px #AC7DFA;">
Div content here</div>
This text has color #AC7DFA on black background.
This text has color #AC7DFA on white background.
This text has black color on #AC7DFA background.
This text has white color on #AC7DFA background.