HEX: #6B3997
RGB: (107,57,151)
#6B3997 contains mainly red and blue colors. Web safe color of #6B3997 is #663399 (or #639).
#6B3997 color RGB value is (107,57,151).
RGB: (107,57,151) (42%,22%,59%)
R 107 of 255 = 42%
G 57 of 255 = 22%
B 151 of 255 = 59%
R + G + B ~ 41%. #6B3997 is middle color (not dark and not light).
R + G + B =
107 + 57 + 151 = 315 (100%)
R 107 of 315 ~ 33.97%
G 57 of 315 ~ 18.1%
B 151 of 315 ~ 47.94%
#6B3997 color CMYK value is (29,62,0,41).
CMYK: (29,62,0,41) C29M62Y0K41 (29%,62%,0%,41%) (0.29/0.62/0.00/0.41)
6B | 39 | 97 | |
---|---|---|---|
RGB | 107 | 57 | 151 |
HSL | 272° | 45.19% | 40.78% |
HSB/HSV | 272° | 62.25% | 59.22% |
CMYK | 29.14% | 62.25% | 0.00% |
40.78% |
HEX | 6B | 39 | 97 |
Decimal | 107 | 57 | 151 |
Binary | 1101011 | 111001 | 10010111 |
Octal | 153 | 71 | 227 |
Examples of css and html codes for elements with #6B3997 color. Also use rgb(107,57,151) instead hex code.
.myTextColor { color: #6B3997; }
<p style="color:#6B3997">This sample text font color is #6B3997.</p>
This text font color is #6B3997.
.myBgColor { background-color: #6B3997; }
<div style="background-color:#6B3997">Inner text</div>
This div background color is #6B3997.
.myBorderColor { border: 1px solid #6B3997; }
<div style="border:3px solid #6B3997">Div</div>
This div border color is #6B3997.
.myOpacity80 { color: #6B3997; opacity: 0.8; }
<p style="color:#6B3997;opacity:0.8;">80%</p>
Text with #6B3997 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B3997;}
<p style="text-shadow: 3px 3px 1px #6B3997">Text here.</p>
This text has shadow with #6B3997 color.
.textShadow {text-shadow: 3px 3px 1px #6B3997, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B3997, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B3997 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B3997, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B3997, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B3997 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B3997; -webkit-box-shadow: 1px 1px 3px 2px #6B3997; box-shadow: 1px 1px 3px 2px #6B3997; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B3997; -webkit-box-shadow: 1px 1px 3px 2px #6B3997; box-shadow:1px 1px 3px 2px #6B3997;">
Div content here</div>
This text has color #6B3997 on black background.
This text has color #6B3997 on white background.
This text has black color on #6B3997 background.
This text has white color on #6B3997 background.