HEX: #7828AA
RGB: (120,40,170)
#7828AA contains mainly red and blue colors. Web safe color of #7828AA is #663399 (or #639).
#7828AA color RGB value is (120,40,170).
RGB: (120,40,170) (47%,16%,67%)
R 120 of 255 = 47%
G 40 of 255 = 16%
B 170 of 255 = 67%
R + G + B ~ 43%. #7828AA is middle color (not dark and not light).
R + G + B =
120 + 40 + 170 = 330 (100%)
R 120 of 330 ~ 36.36%
G 40 of 330 ~ 12.12%
B 170 of 330 ~ 51.52%
#7828AA color CMYK value is (29,76,0,33).
CMYK: (29,76,0,33) C29M76Y0K33 (29%,76%,0%,33%) (0.29/0.76/0.00/0.33)
78 | 28 | AA | |
---|---|---|---|
RGB | 120 | 40 | 170 |
HSL | 277° | 61.90% | 41.18% |
HSB/HSV | 277° | 76.47% | 66.67% |
CMYK | 29.41% | 76.47% | 0.00% |
33.33% |
HEX | 78 | 28 | AA |
Decimal | 120 | 40 | 170 |
Binary | 1111000 | 101000 | 10101010 |
Octal | 170 | 50 | 252 |
Examples of css and html codes for elements with #7828AA color. Also use rgb(120,40,170) instead hex code.
.myTextColor { color: #7828AA; }
<p style="color:#7828AA">This sample text font color is #7828AA.</p>
This text font color is #7828AA.
.myBgColor { background-color: #7828AA; }
<div style="background-color:#7828AA">Inner text</div>
This div background color is #7828AA.
.myBorderColor { border: 1px solid #7828AA; }
<div style="border:3px solid #7828AA">Div</div>
This div border color is #7828AA.
.myOpacity80 { color: #7828AA; opacity: 0.8; }
<p style="color:#7828AA;opacity:0.8;">80%</p>
Text with #7828AA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7828AA;}
<p style="text-shadow: 3px 3px 1px #7828AA">Text here.</p>
This text has shadow with #7828AA color.
.textShadow {text-shadow: 3px 3px 1px #7828AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7828AA, 5px 5px 20px red">Text here.</p>
This text has shadow with #7828AA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7828AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7828AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #7828AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7828AA; -webkit-box-shadow: 1px 1px 3px 2px #7828AA; box-shadow: 1px 1px 3px 2px #7828AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7828AA; -webkit-box-shadow: 1px 1px 3px 2px #7828AA; box-shadow:1px 1px 3px 2px #7828AA;">
Div content here</div>
This text has color #7828AA on black background.
This text has color #7828AA on white background.
This text has black color on #7828AA background.
This text has white color on #7828AA background.