HEX: #6D318B
RGB: (109,49,139)
#6D318B contains mainly red and blue colors. Web safe color of #6D318B is #663399 (or #639).
#6D318B color RGB value is (109,49,139).
RGB: (109,49,139) (43%,19%,55%)
R 109 of 255 = 43%
G 49 of 255 = 19%
B 139 of 255 = 55%
R + G + B ~ 39%. #6D318B is quite dark color.
R + G + B =
109 + 49 + 139 = 297 (100%)
R 109 of 297 ~ 36.7%
G 49 of 297 ~ 16.5%
B 139 of 297 ~ 46.8%
#6D318B color CMYK value is (22,65,0,45).
CMYK: (22,65,0,45) C22M65Y0K45 (22%,65%,0%,45%) (0.22/0.65/0.00/0.45)
6D | 31 | 8B | |
---|---|---|---|
RGB | 109 | 49 | 139 |
HSL | 280° | 47.87% | 36.86% |
HSB/HSV | 280° | 64.75% | 54.51% |
CMYK | 21.58% | 64.75% | 0.00% |
45.49% |
HEX | 6D | 31 | 8B |
Decimal | 109 | 49 | 139 |
Binary | 1101101 | 110001 | 10001011 |
Octal | 155 | 61 | 213 |
Examples of css and html codes for elements with #6D318B color. Also use rgb(109,49,139) instead hex code.
.myTextColor { color: #6D318B; }
<p style="color:#6D318B">This sample text font color is #6D318B.</p>
This text font color is #6D318B.
.myBgColor { background-color: #6D318B; }
<div style="background-color:#6D318B">Inner text</div>
This div background color is #6D318B.
.myBorderColor { border: 1px solid #6D318B; }
<div style="border:3px solid #6D318B">Div</div>
This div border color is #6D318B.
.myOpacity80 { color: #6D318B; opacity: 0.8; }
<p style="color:#6D318B;opacity:0.8;">80%</p>
Text with #6D318B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D318B;}
<p style="text-shadow: 3px 3px 1px #6D318B">Text here.</p>
This text has shadow with #6D318B color.
.textShadow {text-shadow: 3px 3px 1px #6D318B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D318B, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D318B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D318B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D318B, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D318B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D318B; -webkit-box-shadow: 1px 1px 3px 2px #6D318B; box-shadow: 1px 1px 3px 2px #6D318B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D318B; -webkit-box-shadow: 1px 1px 3px 2px #6D318B; box-shadow:1px 1px 3px 2px #6D318B;">
Div content here</div>
This text has color #6D318B on black background.
This text has color #6D318B on white background.
This text has black color on #6D318B background.
This text has white color on #6D318B background.