HEX: #6D3D8A
RGB: (109,61,138)
#6D3D8A contains mainly red and blue colors. Web safe color of #6D3D8A is #663399 (or #639).
#6D3D8A color RGB value is (109,61,138).
RGB: (109,61,138) (43%,24%,54%)
R 109 of 255 = 43%
G 61 of 255 = 24%
B 138 of 255 = 54%
R + G + B ~ 40%. #6D3D8A is middle color (not dark and not light).
R + G + B =
109 + 61 + 138 = 308 (100%)
R 109 of 308 ~ 35.39%
G 61 of 308 ~ 19.81%
B 138 of 308 ~ 44.81%
#6D3D8A color CMYK value is (21,56,0,46).
CMYK: (21,56,0,46) C21M56Y0K46 (21%,56%,0%,46%) (0.21/0.56/0.00/0.46)
6D | 3D | 8A | |
---|---|---|---|
RGB | 109 | 61 | 138 |
HSL | 277° | 38.69% | 39.02% |
HSB/HSV | 277° | 55.80% | 54.12% |
CMYK | 21.01% | 55.80% | 0.00% |
45.88% |
HEX | 6D | 3D | 8A |
Decimal | 109 | 61 | 138 |
Binary | 1101101 | 111101 | 10001010 |
Octal | 155 | 75 | 212 |
Examples of css and html codes for elements with #6D3D8A color. Also use rgb(109,61,138) instead hex code.
.myTextColor { color: #6D3D8A; }
<p style="color:#6D3D8A">This sample text font color is #6D3D8A.</p>
This text font color is #6D3D8A.
.myBgColor { background-color: #6D3D8A; }
<div style="background-color:#6D3D8A">Inner text</div>
This div background color is #6D3D8A.
.myBorderColor { border: 1px solid #6D3D8A; }
<div style="border:3px solid #6D3D8A">Div</div>
This div border color is #6D3D8A.
.myOpacity80 { color: #6D3D8A; opacity: 0.8; }
<p style="color:#6D3D8A;opacity:0.8;">80%</p>
Text with #6D3D8A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D3D8A;}
<p style="text-shadow: 3px 3px 1px #6D3D8A">Text here.</p>
This text has shadow with #6D3D8A color.
.textShadow {text-shadow: 3px 3px 1px #6D3D8A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D3D8A, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D3D8A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D3D8A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D3D8A, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D3D8A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D3D8A; -webkit-box-shadow: 1px 1px 3px 2px #6D3D8A; box-shadow: 1px 1px 3px 2px #6D3D8A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D3D8A; -webkit-box-shadow: 1px 1px 3px 2px #6D3D8A; box-shadow:1px 1px 3px 2px #6D3D8A;">
Div content here</div>
This text has color #6D3D8A on black background.
This text has color #6D3D8A on white background.
This text has black color on #6D3D8A background.
This text has white color on #6D3D8A background.