HEX: #A604DA
RGB: (166,4,218)
#A604DA contains mainly red and blue colors. Web safe color of #A604DA is #9900CC (or #90C).
#A604DA color RGB value is (166,4,218).
RGB: (166,4,218) (65%,2%,85%)
R 166 of 255 = 65%
G 4 of 255 = 2%
B 218 of 255 = 85%
R + G + B ~ 51%. #A604DA is middle color (not dark and not light).
R + G + B =
166 + 4 + 218 = 388 (100%)
R 166 of 388 ~ 42.78%
G 4 of 388 ~ 1.03%
B 218 of 388 ~ 56.19%
#A604DA color CMYK value is (24,98,0,15).
CMYK: (24,98,0,15) C24M98Y0K15 (24%,98%,0%,15%) (0.24/0.98/0.00/0.15)
A6 | 04 | DA | |
---|---|---|---|
RGB | 166 | 4 | 218 |
HSL | 285° | 96.40% | 43.53% |
HSB/HSV | 285° | 98.17% | 85.49% |
CMYK | 23.85% | 98.17% | 0.00% |
14.51% |
HEX | A6 | 04 | DA |
Decimal | 166 | 4 | 218 |
Binary | 10100110 | 100 | 11011010 |
Octal | 246 | 4 | 332 |
Examples of css and html codes for elements with #A604DA color. Also use rgb(166,4,218) instead hex code.
.myTextColor { color: #A604DA; }
<p style="color:#A604DA">This sample text font color is #A604DA.</p>
This text font color is #A604DA.
.myBgColor { background-color: #A604DA; }
<div style="background-color:#A604DA">Inner text</div>
This div background color is #A604DA.
.myBorderColor { border: 1px solid #A604DA; }
<div style="border:3px solid #A604DA">Div</div>
This div border color is #A604DA.
.myOpacity80 { color: #A604DA; opacity: 0.8; }
<p style="color:#A604DA;opacity:0.8;">80%</p>
Text with #A604DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A604DA;}
<p style="text-shadow: 3px 3px 1px #A604DA">Text here.</p>
This text has shadow with #A604DA color.
.textShadow {text-shadow: 3px 3px 1px #A604DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A604DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #A604DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A604DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A604DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #A604DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A604DA; -webkit-box-shadow: 1px 1px 3px 2px #A604DA; box-shadow: 1px 1px 3px 2px #A604DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A604DA; -webkit-box-shadow: 1px 1px 3px 2px #A604DA; box-shadow:1px 1px 3px 2px #A604DA;">
Div content here</div>
This text has color #A604DA on black background.
This text has color #A604DA on white background.
This text has black color on #A604DA background.
This text has white color on #A604DA background.