HEX: #A704D0
RGB: (167,4,208)
#A704D0 contains mainly red and blue colors. Web safe color of #A704D0 is #9900CC (or #90C).
#A704D0 color RGB value is (167,4,208).
RGB: (167,4,208) (65%,2%,82%)
R 167 of 255 = 65%
G 4 of 255 = 2%
B 208 of 255 = 82%
R + G + B ~ 50%. #A704D0 is middle color (not dark and not light).
R + G + B =
167 + 4 + 208 = 379 (100%)
R 167 of 379 ~ 44.06%
G 4 of 379 ~ 1.06%
B 208 of 379 ~ 54.88%
#A704D0 color CMYK value is (20,98,0,18).
CMYK: (20,98,0,18) C20M98Y0K18 (20%,98%,0%,18%) (0.20/0.98/0.00/0.18)
A7 | 04 | D0 | |
---|---|---|---|
RGB | 167 | 4 | 208 |
HSL | 288° | 96.23% | 41.57% |
HSB/HSV | 288° | 98.08% | 81.57% |
CMYK | 19.71% | 98.08% | 0.00% |
18.43% |
HEX | A7 | 04 | D0 |
Decimal | 167 | 4 | 208 |
Binary | 10100111 | 100 | 11010000 |
Octal | 247 | 4 | 320 |
Examples of css and html codes for elements with #A704D0 color. Also use rgb(167,4,208) instead hex code.
.myTextColor { color: #A704D0; }
<p style="color:#A704D0">This sample text font color is #A704D0.</p>
This text font color is #A704D0.
.myBgColor { background-color: #A704D0; }
<div style="background-color:#A704D0">Inner text</div>
This div background color is #A704D0.
.myBorderColor { border: 1px solid #A704D0; }
<div style="border:3px solid #A704D0">Div</div>
This div border color is #A704D0.
.myOpacity80 { color: #A704D0; opacity: 0.8; }
<p style="color:#A704D0;opacity:0.8;">80%</p>
Text with #A704D0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A704D0;}
<p style="text-shadow: 3px 3px 1px #A704D0">Text here.</p>
This text has shadow with #A704D0 color.
.textShadow {text-shadow: 3px 3px 1px #A704D0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A704D0, 5px 5px 20px red">Text here.</p>
This text has shadow with #A704D0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A704D0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A704D0, Direction=45, Strength=4)">Text</p>
This text has shadow with #A704D0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A704D0; -webkit-box-shadow: 1px 1px 3px 2px #A704D0; box-shadow: 1px 1px 3px 2px #A704D0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A704D0; -webkit-box-shadow: 1px 1px 3px 2px #A704D0; box-shadow:1px 1px 3px 2px #A704D0;">
Div content here</div>
This text has color #A704D0 on black background.
This text has color #A704D0 on white background.
This text has black color on #A704D0 background.
This text has white color on #A704D0 background.