HEX: #6D2989
RGB: (109,41,137)
#6D2989 contains mainly red and blue colors. Web safe color of #6D2989 is #663399 (or #639).
#6D2989 color RGB value is (109,41,137).
RGB: (109,41,137) (43%,16%,54%)
R 109 of 255 = 43%
G 41 of 255 = 16%
B 137 of 255 = 54%
R + G + B ~ 38%. #6D2989 is quite dark color.
R + G + B =
109 + 41 + 137 = 287 (100%)
R 109 of 287 ~ 37.98%
G 41 of 287 ~ 14.29%
B 137 of 287 ~ 47.74%
#6D2989 color CMYK value is (20,70,0,46).
CMYK: (20,70,0,46) C20M70Y0K46 (20%,70%,0%,46%) (0.20/0.70/0.00/0.46)
6D | 29 | 89 | |
---|---|---|---|
RGB | 109 | 41 | 137 |
HSL | 283° | 53.93% | 34.90% |
HSB/HSV | 283° | 70.07% | 53.73% |
CMYK | 20.44% | 70.07% | 0.00% |
46.27% |
HEX | 6D | 29 | 89 |
Decimal | 109 | 41 | 137 |
Binary | 1101101 | 101001 | 10001001 |
Octal | 155 | 51 | 211 |
Examples of css and html codes for elements with #6D2989 color. Also use rgb(109,41,137) instead hex code.
.myTextColor { color: #6D2989; }
<p style="color:#6D2989">This sample text font color is #6D2989.</p>
This text font color is #6D2989.
.myBgColor { background-color: #6D2989; }
<div style="background-color:#6D2989">Inner text</div>
This div background color is #6D2989.
.myBorderColor { border: 1px solid #6D2989; }
<div style="border:3px solid #6D2989">Div</div>
This div border color is #6D2989.
.myOpacity80 { color: #6D2989; opacity: 0.8; }
<p style="color:#6D2989;opacity:0.8;">80%</p>
Text with #6D2989 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D2989;}
<p style="text-shadow: 3px 3px 1px #6D2989">Text here.</p>
This text has shadow with #6D2989 color.
.textShadow {text-shadow: 3px 3px 1px #6D2989, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D2989, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D2989 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D2989, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D2989, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D2989 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D2989; -webkit-box-shadow: 1px 1px 3px 2px #6D2989; box-shadow: 1px 1px 3px 2px #6D2989; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D2989; -webkit-box-shadow: 1px 1px 3px 2px #6D2989; box-shadow:1px 1px 3px 2px #6D2989;">
Div content here</div>
This text has color #6D2989 on black background.
This text has color #6D2989 on white background.
This text has black color on #6D2989 background.
This text has white color on #6D2989 background.