HEX: #6D508D
RGB: (109,80,141)
#6D508D contains mainly red and blue colors. Web safe color of #6D508D is #666699 (or #669).
#6D508D color RGB value is (109,80,141).
RGB: (109,80,141) (43%,31%,55%)
R 109 of 255 = 43%
G 80 of 255 = 31%
B 141 of 255 = 55%
R + G + B ~ 43%. #6D508D is middle color (not dark and not light).
R + G + B =
109 + 80 + 141 = 330 (100%)
R 109 of 330 ~ 33.03%
G 80 of 330 ~ 24.24%
B 141 of 330 ~ 42.73%
#6D508D color CMYK value is (23,43,0,45).
CMYK: (23,43,0,45) C23M43Y0K45 (23%,43%,0%,45%) (0.23/0.43/0.00/0.45)
6D | 50 | 8D | |
---|---|---|---|
RGB | 109 | 80 | 141 |
HSL | 269° | 27.60% | 43.33% |
HSB/HSV | 269° | 43.26% | 55.29% |
CMYK | 22.70% | 43.26% | 0.00% |
44.71% |
HEX | 6D | 50 | 8D |
Decimal | 109 | 80 | 141 |
Binary | 1101101 | 1010000 | 10001101 |
Octal | 155 | 120 | 215 |
Examples of css and html codes for elements with #6D508D color. Also use rgb(109,80,141) instead hex code.
.myTextColor { color: #6D508D; }
<p style="color:#6D508D">This sample text font color is #6D508D.</p>
This text font color is #6D508D.
.myBgColor { background-color: #6D508D; }
<div style="background-color:#6D508D">Inner text</div>
This div background color is #6D508D.
.myBorderColor { border: 1px solid #6D508D; }
<div style="border:3px solid #6D508D">Div</div>
This div border color is #6D508D.
.myOpacity80 { color: #6D508D; opacity: 0.8; }
<p style="color:#6D508D;opacity:0.8;">80%</p>
Text with #6D508D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D508D;}
<p style="text-shadow: 3px 3px 1px #6D508D">Text here.</p>
This text has shadow with #6D508D color.
.textShadow {text-shadow: 3px 3px 1px #6D508D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D508D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D508D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D508D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D508D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D508D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D508D; -webkit-box-shadow: 1px 1px 3px 2px #6D508D; box-shadow: 1px 1px 3px 2px #6D508D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D508D; -webkit-box-shadow: 1px 1px 3px 2px #6D508D; box-shadow:1px 1px 3px 2px #6D508D;">
Div content here</div>
This text has color #6D508D on black background.
This text has color #6D508D on white background.
This text has black color on #6D508D background.
This text has white color on #6D508D background.