HEX: #A780DC
RGB: (167,128,220)
#A780DC contains mainly red and blue colors. Web safe color of #A780DC is #9966CC (or #96C).
#A780DC color RGB value is (167,128,220).
RGB: (167,128,220) (65%,50%,86%)
R 167 of 255 = 65%
G 128 of 255 = 50%
B 220 of 255 = 86%
R + G + B ~ 67%. #A780DC is quite light color.
R + G + B =
167 + 128 + 220 = 515 (100%)
R 167 of 515 ~ 32.43%
G 128 of 515 ~ 24.85%
B 220 of 515 ~ 42.72%
#A780DC color CMYK value is (24,42,0,14).
CMYK: (24,42,0,14) C24M42Y0K14 (24%,42%,0%,14%) (0.24/0.42/0.00/0.14)
A7 | 80 | DC | |
---|---|---|---|
RGB | 167 | 128 | 220 |
HSL | 265° | 56.79% | 68.24% |
HSB/HSV | 265° | 41.82% | 86.27% |
CMYK | 24.09% | 41.82% | 0.00% |
13.73% |
HEX | A7 | 80 | DC |
Decimal | 167 | 128 | 220 |
Binary | 10100111 | 10000000 | 11011100 |
Octal | 247 | 200 | 334 |
Examples of css and html codes for elements with #A780DC color. Also use rgb(167,128,220) instead hex code.
.myTextColor { color: #A780DC; }
<p style="color:#A780DC">This sample text font color is #A780DC.</p>
This text font color is #A780DC.
.myBgColor { background-color: #A780DC; }
<div style="background-color:#A780DC">Inner text</div>
This div background color is #A780DC.
.myBorderColor { border: 1px solid #A780DC; }
<div style="border:3px solid #A780DC">Div</div>
This div border color is #A780DC.
.myOpacity80 { color: #A780DC; opacity: 0.8; }
<p style="color:#A780DC;opacity:0.8;">80%</p>
Text with #A780DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A780DC;}
<p style="text-shadow: 3px 3px 1px #A780DC">Text here.</p>
This text has shadow with #A780DC color.
.textShadow {text-shadow: 3px 3px 1px #A780DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A780DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #A780DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A780DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A780DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #A780DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A780DC; -webkit-box-shadow: 1px 1px 3px 2px #A780DC; box-shadow: 1px 1px 3px 2px #A780DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A780DC; -webkit-box-shadow: 1px 1px 3px 2px #A780DC; box-shadow:1px 1px 3px 2px #A780DC;">
Div content here</div>
This text has color #A780DC on black background.
This text has color #A780DC on white background.
This text has black color on #A780DC background.
This text has white color on #A780DC background.