HEX: #821EAE
RGB: (130,30,174)
#821EAE contains mainly red and blue colors. Web safe color of #821EAE is #993399 (or #939).
#821EAE color RGB value is (130,30,174).
RGB: (130,30,174) (51%,12%,68%)
R 130 of 255 = 51%
G 30 of 255 = 12%
B 174 of 255 = 68%
R + G + B ~ 44%. #821EAE is middle color (not dark and not light).
R + G + B =
130 + 30 + 174 = 334 (100%)
R 130 of 334 ~ 38.92%
G 30 of 334 ~ 8.98%
B 174 of 334 ~ 52.1%
#821EAE color CMYK value is (25,83,0,32).
CMYK: (25,83,0,32) C25M83Y0K32 (25%,83%,0%,32%) (0.25/0.83/0.00/0.32)
82 | 1E | AE | |
---|---|---|---|
RGB | 130 | 30 | 174 |
HSL | 282° | 70.59% | 40.00% |
HSB/HSV | 282° | 82.76% | 68.24% |
CMYK | 25.29% | 82.76% | 0.00% |
31.76% |
HEX | 82 | 1E | AE |
Decimal | 130 | 30 | 174 |
Binary | 10000010 | 11110 | 10101110 |
Octal | 202 | 36 | 256 |
Examples of css and html codes for elements with #821EAE color. Also use rgb(130,30,174) instead hex code.
.myTextColor { color: #821EAE; }
<p style="color:#821EAE">This sample text font color is #821EAE.</p>
This text font color is #821EAE.
.myBgColor { background-color: #821EAE; }
<div style="background-color:#821EAE">Inner text</div>
This div background color is #821EAE.
.myBorderColor { border: 1px solid #821EAE; }
<div style="border:3px solid #821EAE">Div</div>
This div border color is #821EAE.
.myOpacity80 { color: #821EAE; opacity: 0.8; }
<p style="color:#821EAE;opacity:0.8;">80%</p>
Text with #821EAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #821EAE;}
<p style="text-shadow: 3px 3px 1px #821EAE">Text here.</p>
This text has shadow with #821EAE color.
.textShadow {text-shadow: 3px 3px 1px #821EAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #821EAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #821EAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#821EAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#821EAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #821EAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #821EAE; -webkit-box-shadow: 1px 1px 3px 2px #821EAE; box-shadow: 1px 1px 3px 2px #821EAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #821EAE; -webkit-box-shadow: 1px 1px 3px 2px #821EAE; box-shadow:1px 1px 3px 2px #821EAE;">
Div content here</div>
This text has color #821EAE on black background.
This text has color #821EAE on white background.
This text has black color on #821EAE background.
This text has white color on #821EAE background.