HEX: #6B4193
RGB: (107,65,147)
#6B4193 contains mainly red and blue colors. Web safe color of #6B4193 is #663399 (or #639).
#6B4193 color RGB value is (107,65,147).
RGB: (107,65,147) (42%,25%,58%)
R 107 of 255 = 42%
G 65 of 255 = 25%
B 147 of 255 = 58%
R + G + B ~ 42%. #6B4193 is middle color (not dark and not light).
R + G + B =
107 + 65 + 147 = 319 (100%)
R 107 of 319 ~ 33.54%
G 65 of 319 ~ 20.38%
B 147 of 319 ~ 46.08%
#6B4193 color CMYK value is (27,56,0,42).
CMYK: (27,56,0,42) C27M56Y0K42 (27%,56%,0%,42%) (0.27/0.56/0.00/0.42)
6B | 41 | 93 | |
---|---|---|---|
RGB | 107 | 65 | 147 |
HSL | 271° | 38.68% | 41.57% |
HSB/HSV | 271° | 55.78% | 57.65% |
CMYK | 27.21% | 55.78% | 0.00% |
42.35% |
HEX | 6B | 41 | 93 |
Decimal | 107 | 65 | 147 |
Binary | 1101011 | 1000001 | 10010011 |
Octal | 153 | 101 | 223 |
Examples of css and html codes for elements with #6B4193 color. Also use rgb(107,65,147) instead hex code.
.myTextColor { color: #6B4193; }
<p style="color:#6B4193">This sample text font color is #6B4193.</p>
This text font color is #6B4193.
.myBgColor { background-color: #6B4193; }
<div style="background-color:#6B4193">Inner text</div>
This div background color is #6B4193.
.myBorderColor { border: 1px solid #6B4193; }
<div style="border:3px solid #6B4193">Div</div>
This div border color is #6B4193.
.myOpacity80 { color: #6B4193; opacity: 0.8; }
<p style="color:#6B4193;opacity:0.8;">80%</p>
Text with #6B4193 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B4193;}
<p style="text-shadow: 3px 3px 1px #6B4193">Text here.</p>
This text has shadow with #6B4193 color.
.textShadow {text-shadow: 3px 3px 1px #6B4193, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B4193, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B4193 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B4193, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B4193, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B4193 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B4193; -webkit-box-shadow: 1px 1px 3px 2px #6B4193; box-shadow: 1px 1px 3px 2px #6B4193; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B4193; -webkit-box-shadow: 1px 1px 3px 2px #6B4193; box-shadow:1px 1px 3px 2px #6B4193;">
Div content here</div>
This text has color #6B4193 on black background.
This text has color #6B4193 on white background.
This text has black color on #6B4193 background.
This text has white color on #6B4193 background.