HEX: #6D4DAA
RGB: (109,77,170)
#6D4DAA contains mainly blue color. Web safe color of #6D4DAA is #663399 (or #639).
#6D4DAA color RGB value is (109,77,170).
RGB: (109,77,170) (43%,30%,67%)
R 109 of 255 = 43%
G 77 of 255 = 30%
B 170 of 255 = 67%
R + G + B ~ 47%. #6D4DAA is middle color (not dark and not light).
R + G + B =
109 + 77 + 170 = 356 (100%)
R 109 of 356 ~ 30.62%
G 77 of 356 ~ 21.63%
B 170 of 356 ~ 47.75%
#6D4DAA color CMYK value is (36,55,0,33).
CMYK: (36,55,0,33) C36M55Y0K33 (36%,55%,0%,33%) (0.36/0.55/0.00/0.33)
6D | 4D | AA | |
---|---|---|---|
RGB | 109 | 77 | 170 |
HSL | 261° | 37.65% | 48.43% |
HSB/HSV | 261° | 54.71% | 66.67% |
CMYK | 35.88% | 54.71% | 0.00% |
33.33% |
HEX | 6D | 4D | AA |
Decimal | 109 | 77 | 170 |
Binary | 1101101 | 1001101 | 10101010 |
Octal | 155 | 115 | 252 |
Examples of css and html codes for elements with #6D4DAA color. Also use rgb(109,77,170) instead hex code.
.myTextColor { color: #6D4DAA; }
<p style="color:#6D4DAA">This sample text font color is #6D4DAA.</p>
This text font color is #6D4DAA.
.myBgColor { background-color: #6D4DAA; }
<div style="background-color:#6D4DAA">Inner text</div>
This div background color is #6D4DAA.
.myBorderColor { border: 1px solid #6D4DAA; }
<div style="border:3px solid #6D4DAA">Div</div>
This div border color is #6D4DAA.
.myOpacity80 { color: #6D4DAA; opacity: 0.8; }
<p style="color:#6D4DAA;opacity:0.8;">80%</p>
Text with #6D4DAA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D4DAA;}
<p style="text-shadow: 3px 3px 1px #6D4DAA">Text here.</p>
This text has shadow with #6D4DAA color.
.textShadow {text-shadow: 3px 3px 1px #6D4DAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D4DAA, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D4DAA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D4DAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D4DAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D4DAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D4DAA; -webkit-box-shadow: 1px 1px 3px 2px #6D4DAA; box-shadow: 1px 1px 3px 2px #6D4DAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D4DAA; -webkit-box-shadow: 1px 1px 3px 2px #6D4DAA; box-shadow:1px 1px 3px 2px #6D4DAA;">
Div content here</div>
This text has color #6D4DAA on black background.
This text has color #6D4DAA on white background.
This text has black color on #6D4DAA background.
This text has white color on #6D4DAA background.