HEX: #A0508C
RGB: (160,80,140)
#A0508C contains mainly red and blue colors. Web safe color of #A0508C is #996699 (or #969).
#A0508C color RGB value is (160,80,140).
RGB: (160,80,140) (63%,31%,55%)
R 160 of 255 = 63%
G 80 of 255 = 31%
B 140 of 255 = 55%
R + G + B ~ 50%. #A0508C is middle color (not dark and not light).
R + G + B =
160 + 80 + 140 = 380 (100%)
R 160 of 380 ~ 42.11%
G 80 of 380 ~ 21.05%
B 140 of 380 ~ 36.84%
#A0508C color CMYK value is (0,50,13,37).
CMYK: (0,50,13,37) C0M50Y13K37 (0%,50%,13%,37%) (0.00/0.50/0.13/0.37)
A0 | 50 | 8C | |
---|---|---|---|
RGB | 160 | 80 | 140 |
HSL | 315° | 33.33% | 47.06% |
HSB/HSV | 315° | 50.00% | 62.75% |
CMYK | 0.00% | 50.00% | 12.50% |
37.25% |
HEX | A0 | 50 | 8C |
Decimal | 160 | 80 | 140 |
Binary | 10100000 | 1010000 | 10001100 |
Octal | 240 | 120 | 214 |
Examples of css and html codes for elements with #A0508C color. Also use rgb(160,80,140) instead hex code.
.myTextColor { color: #A0508C; }
<p style="color:#A0508C">This sample text font color is #A0508C.</p>
This text font color is #A0508C.
.myBgColor { background-color: #A0508C; }
<div style="background-color:#A0508C">Inner text</div>
This div background color is #A0508C.
.myBorderColor { border: 1px solid #A0508C; }
<div style="border:3px solid #A0508C">Div</div>
This div border color is #A0508C.
.myOpacity80 { color: #A0508C; opacity: 0.8; }
<p style="color:#A0508C;opacity:0.8;">80%</p>
Text with #A0508C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A0508C;}
<p style="text-shadow: 3px 3px 1px #A0508C">Text here.</p>
This text has shadow with #A0508C color.
.textShadow {text-shadow: 3px 3px 1px #A0508C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A0508C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A0508C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A0508C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A0508C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A0508C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A0508C; -webkit-box-shadow: 1px 1px 3px 2px #A0508C; box-shadow: 1px 1px 3px 2px #A0508C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A0508C; -webkit-box-shadow: 1px 1px 3px 2px #A0508C; box-shadow:1px 1px 3px 2px #A0508C;">
Div content here</div>
This text has color #A0508C on black background.
This text has color #A0508C on white background.
This text has black color on #A0508C background.
This text has white color on #A0508C background.