HEX: #A15FE1
RGB: (161,95,225)
#A15FE1 contains mainly blue color. Web safe color of #A15FE1 is #9966CC (or #96C).
#A15FE1 color RGB value is (161,95,225).
RGB: (161,95,225) (63%,37%,88%)
R 161 of 255 = 63%
G 95 of 255 = 37%
B 225 of 255 = 88%
R + G + B ~ 63%. #A15FE1 is quite light color.
R + G + B =
161 + 95 + 225 = 481 (100%)
R 161 of 481 ~ 33.47%
G 95 of 481 ~ 19.75%
B 225 of 481 ~ 46.78%
#A15FE1 color CMYK value is (28,58,0,12).
CMYK: (28,58,0,12) C28M58Y0K12 (28%,58%,0%,12%) (0.28/0.58/0.00/0.12)
A1 | 5F | E1 | |
---|---|---|---|
RGB | 161 | 95 | 225 |
HSL | 270° | 68.42% | 62.75% |
HSB/HSV | 270° | 57.78% | 88.24% |
CMYK | 28.44% | 57.78% | 0.00% |
11.76% |
HEX | A1 | 5F | E1 |
Decimal | 161 | 95 | 225 |
Binary | 10100001 | 1011111 | 11100001 |
Octal | 241 | 137 | 341 |
Examples of css and html codes for elements with #A15FE1 color. Also use rgb(161,95,225) instead hex code.
.myTextColor { color: #A15FE1; }
<p style="color:#A15FE1">This sample text font color is #A15FE1.</p>
This text font color is #A15FE1.
.myBgColor { background-color: #A15FE1; }
<div style="background-color:#A15FE1">Inner text</div>
This div background color is #A15FE1.
.myBorderColor { border: 1px solid #A15FE1; }
<div style="border:3px solid #A15FE1">Div</div>
This div border color is #A15FE1.
.myOpacity80 { color: #A15FE1; opacity: 0.8; }
<p style="color:#A15FE1;opacity:0.8;">80%</p>
Text with #A15FE1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A15FE1;}
<p style="text-shadow: 3px 3px 1px #A15FE1">Text here.</p>
This text has shadow with #A15FE1 color.
.textShadow {text-shadow: 3px 3px 1px #A15FE1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A15FE1, 5px 5px 20px red">Text here.</p>
This text has shadow with #A15FE1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A15FE1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A15FE1, Direction=45, Strength=4)">Text</p>
This text has shadow with #A15FE1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A15FE1; -webkit-box-shadow: 1px 1px 3px 2px #A15FE1; box-shadow: 1px 1px 3px 2px #A15FE1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A15FE1; -webkit-box-shadow: 1px 1px 3px 2px #A15FE1; box-shadow:1px 1px 3px 2px #A15FE1;">
Div content here</div>
This text has color #A15FE1 on black background.
This text has color #A15FE1 on white background.
This text has black color on #A15FE1 background.
This text has white color on #A15FE1 background.