HEX: #A541D1
RGB: (165,65,209)
#A541D1 contains mainly red and blue colors. Web safe color of #A541D1 is #9933CC (or #93C).
#A541D1 color RGB value is (165,65,209).
RGB: (165,65,209) (65%,25%,82%)
R 165 of 255 = 65%
G 65 of 255 = 25%
B 209 of 255 = 82%
R + G + B ~ 57%. #A541D1 is middle color (not dark and not light).
R + G + B =
165 + 65 + 209 = 439 (100%)
R 165 of 439 ~ 37.59%
G 65 of 439 ~ 14.81%
B 209 of 439 ~ 47.61%
#A541D1 color CMYK value is (21,69,0,18).
CMYK: (21,69,0,18) C21M69Y0K18 (21%,69%,0%,18%) (0.21/0.69/0.00/0.18)
A5 | 41 | D1 | |
---|---|---|---|
RGB | 165 | 65 | 209 |
HSL | 282° | 61.02% | 53.73% |
HSB/HSV | 282° | 68.90% | 81.96% |
CMYK | 21.05% | 68.90% | 0.00% |
18.04% |
HEX | A5 | 41 | D1 |
Decimal | 165 | 65 | 209 |
Binary | 10100101 | 1000001 | 11010001 |
Octal | 245 | 101 | 321 |
Examples of css and html codes for elements with #A541D1 color. Also use rgb(165,65,209) instead hex code.
.myTextColor { color: #A541D1; }
<p style="color:#A541D1">This sample text font color is #A541D1.</p>
This text font color is #A541D1.
.myBgColor { background-color: #A541D1; }
<div style="background-color:#A541D1">Inner text</div>
This div background color is #A541D1.
.myBorderColor { border: 1px solid #A541D1; }
<div style="border:3px solid #A541D1">Div</div>
This div border color is #A541D1.
.myOpacity80 { color: #A541D1; opacity: 0.8; }
<p style="color:#A541D1;opacity:0.8;">80%</p>
Text with #A541D1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A541D1;}
<p style="text-shadow: 3px 3px 1px #A541D1">Text here.</p>
This text has shadow with #A541D1 color.
.textShadow {text-shadow: 3px 3px 1px #A541D1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A541D1, 5px 5px 20px red">Text here.</p>
This text has shadow with #A541D1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A541D1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A541D1, Direction=45, Strength=4)">Text</p>
This text has shadow with #A541D1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A541D1; -webkit-box-shadow: 1px 1px 3px 2px #A541D1; box-shadow: 1px 1px 3px 2px #A541D1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A541D1; -webkit-box-shadow: 1px 1px 3px 2px #A541D1; box-shadow:1px 1px 3px 2px #A541D1;">
Div content here</div>
This text has color #A541D1 on black background.
This text has color #A541D1 on white background.
This text has black color on #A541D1 background.
This text has white color on #A541D1 background.