HEX: #6D22AD
RGB: (109,34,173)
#6D22AD contains mainly blue color. Web safe color of #6D22AD is #663399 (or #639).
#6D22AD color RGB value is (109,34,173).
RGB: (109,34,173) (43%,13%,68%)
R 109 of 255 = 43%
G 34 of 255 = 13%
B 173 of 255 = 68%
R + G + B ~ 41%. #6D22AD is middle color (not dark and not light).
R + G + B =
109 + 34 + 173 = 316 (100%)
R 109 of 316 ~ 34.49%
G 34 of 316 ~ 10.76%
B 173 of 316 ~ 54.75%
#6D22AD color CMYK value is (37,80,0,32).
CMYK: (37,80,0,32) C37M80Y0K32 (37%,80%,0%,32%) (0.37/0.80/0.00/0.32)
6D | 22 | AD | |
---|---|---|---|
RGB | 109 | 34 | 173 |
HSL | 272° | 67.15% | 40.59% |
HSB/HSV | 272° | 80.35% | 67.84% |
CMYK | 36.99% | 80.35% | 0.00% |
32.16% |
HEX | 6D | 22 | AD |
Decimal | 109 | 34 | 173 |
Binary | 1101101 | 100010 | 10101101 |
Octal | 155 | 42 | 255 |
Examples of css and html codes for elements with #6D22AD color. Also use rgb(109,34,173) instead hex code.
.myTextColor { color: #6D22AD; }
<p style="color:#6D22AD">This sample text font color is #6D22AD.</p>
This text font color is #6D22AD.
.myBgColor { background-color: #6D22AD; }
<div style="background-color:#6D22AD">Inner text</div>
This div background color is #6D22AD.
.myBorderColor { border: 1px solid #6D22AD; }
<div style="border:3px solid #6D22AD">Div</div>
This div border color is #6D22AD.
.myOpacity80 { color: #6D22AD; opacity: 0.8; }
<p style="color:#6D22AD;opacity:0.8;">80%</p>
Text with #6D22AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D22AD;}
<p style="text-shadow: 3px 3px 1px #6D22AD">Text here.</p>
This text has shadow with #6D22AD color.
.textShadow {text-shadow: 3px 3px 1px #6D22AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D22AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D22AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D22AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D22AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D22AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D22AD; -webkit-box-shadow: 1px 1px 3px 2px #6D22AD; box-shadow: 1px 1px 3px 2px #6D22AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D22AD; -webkit-box-shadow: 1px 1px 3px 2px #6D22AD; box-shadow:1px 1px 3px 2px #6D22AD;">
Div content here</div>
This text has color #6D22AD on black background.
This text has color #6D22AD on white background.
This text has black color on #6D22AD background.
This text has white color on #6D22AD background.