HEX: #6B4586
RGB: (107,69,134)
#6B4586 contains mainly red and blue colors. Web safe color of #6B4586 is #663399 (or #639).
#6B4586 color RGB value is (107,69,134).
RGB: (107,69,134) (42%,27%,53%)
R 107 of 255 = 42%
G 69 of 255 = 27%
B 134 of 255 = 53%
R + G + B ~ 41%. #6B4586 is middle color (not dark and not light).
R + G + B =
107 + 69 + 134 = 310 (100%)
R 107 of 310 ~ 34.52%
G 69 of 310 ~ 22.26%
B 134 of 310 ~ 43.23%
#6B4586 color CMYK value is (20,49,0,47).
CMYK: (20,49,0,47) C20M49Y0K47 (20%,49%,0%,47%) (0.20/0.49/0.00/0.47)
6B | 45 | 86 | |
---|---|---|---|
RGB | 107 | 69 | 134 |
HSL | 275° | 32.02% | 39.80% |
HSB/HSV | 275° | 48.51% | 52.55% |
CMYK | 20.15% | 48.51% | 0.00% |
47.45% |
HEX | 6B | 45 | 86 |
Decimal | 107 | 69 | 134 |
Binary | 1101011 | 1000101 | 10000110 |
Octal | 153 | 105 | 206 |
Examples of css and html codes for elements with #6B4586 color. Also use rgb(107,69,134) instead hex code.
.myTextColor { color: #6B4586; }
<p style="color:#6B4586">This sample text font color is #6B4586.</p>
This text font color is #6B4586.
.myBgColor { background-color: #6B4586; }
<div style="background-color:#6B4586">Inner text</div>
This div background color is #6B4586.
.myBorderColor { border: 1px solid #6B4586; }
<div style="border:3px solid #6B4586">Div</div>
This div border color is #6B4586.
.myOpacity80 { color: #6B4586; opacity: 0.8; }
<p style="color:#6B4586;opacity:0.8;">80%</p>
Text with #6B4586 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B4586;}
<p style="text-shadow: 3px 3px 1px #6B4586">Text here.</p>
This text has shadow with #6B4586 color.
.textShadow {text-shadow: 3px 3px 1px #6B4586, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B4586, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B4586 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B4586, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B4586, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B4586 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B4586; -webkit-box-shadow: 1px 1px 3px 2px #6B4586; box-shadow: 1px 1px 3px 2px #6B4586; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B4586; -webkit-box-shadow: 1px 1px 3px 2px #6B4586; box-shadow:1px 1px 3px 2px #6B4586;">
Div content here</div>
This text has color #6B4586 on black background.
This text has color #6B4586 on white background.
This text has black color on #6B4586 background.
This text has white color on #6B4586 background.