HEX: #6B4892
RGB: (107,72,146)
#6B4892 contains mainly red and blue colors. Web safe color of #6B4892 is #663399 (or #639).
#6B4892 color RGB value is (107,72,146).
RGB: (107,72,146) (42%,28%,57%)
R 107 of 255 = 42%
G 72 of 255 = 28%
B 146 of 255 = 57%
R + G + B ~ 42%. #6B4892 is middle color (not dark and not light).
R + G + B =
107 + 72 + 146 = 325 (100%)
R 107 of 325 ~ 32.92%
G 72 of 325 ~ 22.15%
B 146 of 325 ~ 44.92%
#6B4892 color CMYK value is (27,51,0,43).
CMYK: (27,51,0,43) C27M51Y0K43 (27%,51%,0%,43%) (0.27/0.51/0.00/0.43)
6B | 48 | 92 | |
---|---|---|---|
RGB | 107 | 72 | 146 |
HSL | 268° | 33.94% | 42.75% |
HSB/HSV | 268° | 50.68% | 57.25% |
CMYK | 26.71% | 50.68% | 0.00% |
42.75% |
HEX | 6B | 48 | 92 |
Decimal | 107 | 72 | 146 |
Binary | 1101011 | 1001000 | 10010010 |
Octal | 153 | 110 | 222 |
Examples of css and html codes for elements with #6B4892 color. Also use rgb(107,72,146) instead hex code.
.myTextColor { color: #6B4892; }
<p style="color:#6B4892">This sample text font color is #6B4892.</p>
This text font color is #6B4892.
.myBgColor { background-color: #6B4892; }
<div style="background-color:#6B4892">Inner text</div>
This div background color is #6B4892.
.myBorderColor { border: 1px solid #6B4892; }
<div style="border:3px solid #6B4892">Div</div>
This div border color is #6B4892.
.myOpacity80 { color: #6B4892; opacity: 0.8; }
<p style="color:#6B4892;opacity:0.8;">80%</p>
Text with #6B4892 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B4892;}
<p style="text-shadow: 3px 3px 1px #6B4892">Text here.</p>
This text has shadow with #6B4892 color.
.textShadow {text-shadow: 3px 3px 1px #6B4892, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B4892, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B4892 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B4892, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B4892, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B4892 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B4892; -webkit-box-shadow: 1px 1px 3px 2px #6B4892; box-shadow: 1px 1px 3px 2px #6B4892; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B4892; -webkit-box-shadow: 1px 1px 3px 2px #6B4892; box-shadow:1px 1px 3px 2px #6B4892;">
Div content here</div>
This text has color #6B4892 on black background.
This text has color #6B4892 on white background.
This text has black color on #6B4892 background.
This text has white color on #6B4892 background.