HEX: #A828FA
RGB: (168,40,250)
#A828FA contains mainly blue color. Web safe color of #A828FA is #9933FF (or #93F).
#A828FA color RGB value is (168,40,250).
RGB: (168,40,250) (66%,16%,98%)
R 168 of 255 = 66%
G 40 of 255 = 16%
B 250 of 255 = 98%
R + G + B ~ 60%. #A828FA is middle color (not dark and not light).
R + G + B =
168 + 40 + 250 = 458 (100%)
R 168 of 458 ~ 36.68%
G 40 of 458 ~ 8.73%
B 250 of 458 ~ 54.59%
#A828FA color CMYK value is (33,84,0,2).
CMYK: (33,84,0,2) C33M84Y0K2 (33%,84%,0%,2%) (0.33/0.84/0.00/0.02)
A8 | 28 | FA | |
---|---|---|---|
RGB | 168 | 40 | 250 |
HSL | 277° | 95.45% | 56.86% |
HSB/HSV | 277° | 84.00% | 98.04% |
CMYK | 32.80% | 84.00% | 0.00% |
1.96% |
HEX | A8 | 28 | FA |
Decimal | 168 | 40 | 250 |
Binary | 10101000 | 101000 | 11111010 |
Octal | 250 | 50 | 372 |
Examples of css and html codes for elements with #A828FA color. Also use rgb(168,40,250) instead hex code.
.myTextColor { color: #A828FA; }
<p style="color:#A828FA">This sample text font color is #A828FA.</p>
This text font color is #A828FA.
.myBgColor { background-color: #A828FA; }
<div style="background-color:#A828FA">Inner text</div>
This div background color is #A828FA.
.myBorderColor { border: 1px solid #A828FA; }
<div style="border:3px solid #A828FA">Div</div>
This div border color is #A828FA.
.myOpacity80 { color: #A828FA; opacity: 0.8; }
<p style="color:#A828FA;opacity:0.8;">80%</p>
Text with #A828FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A828FA;}
<p style="text-shadow: 3px 3px 1px #A828FA">Text here.</p>
This text has shadow with #A828FA color.
.textShadow {text-shadow: 3px 3px 1px #A828FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A828FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #A828FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A828FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A828FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #A828FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A828FA; -webkit-box-shadow: 1px 1px 3px 2px #A828FA; box-shadow: 1px 1px 3px 2px #A828FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A828FA; -webkit-box-shadow: 1px 1px 3px 2px #A828FA; box-shadow:1px 1px 3px 2px #A828FA;">
Div content here</div>
This text has color #A828FA on black background.
This text has color #A828FA on white background.
This text has black color on #A828FA background.
This text has white color on #A828FA background.