HEX: #6B3BAA
RGB: (107,59,170)
#6B3BAA contains mainly blue color. Web safe color of #6B3BAA is #663399 (or #639).
#6B3BAA color RGB value is (107,59,170).
RGB: (107,59,170) (42%,23%,67%)
R 107 of 255 = 42%
G 59 of 255 = 23%
B 170 of 255 = 67%
R + G + B ~ 44%. #6B3BAA is middle color (not dark and not light).
R + G + B =
107 + 59 + 170 = 336 (100%)
R 107 of 336 ~ 31.85%
G 59 of 336 ~ 17.56%
B 170 of 336 ~ 50.6%
#6B3BAA color CMYK value is (37,65,0,33).
CMYK: (37,65,0,33) C37M65Y0K33 (37%,65%,0%,33%) (0.37/0.65/0.00/0.33)
6B | 3B | AA | |
---|---|---|---|
RGB | 107 | 59 | 170 |
HSL | 266° | 48.47% | 44.90% |
HSB/HSV | 266° | 65.29% | 66.67% |
CMYK | 37.06% | 65.29% | 0.00% |
33.33% |
HEX | 6B | 3B | AA |
Decimal | 107 | 59 | 170 |
Binary | 1101011 | 111011 | 10101010 |
Octal | 153 | 73 | 252 |
Examples of css and html codes for elements with #6B3BAA color. Also use rgb(107,59,170) instead hex code.
.myTextColor { color: #6B3BAA; }
<p style="color:#6B3BAA">This sample text font color is #6B3BAA.</p>
This text font color is #6B3BAA.
.myBgColor { background-color: #6B3BAA; }
<div style="background-color:#6B3BAA">Inner text</div>
This div background color is #6B3BAA.
.myBorderColor { border: 1px solid #6B3BAA; }
<div style="border:3px solid #6B3BAA">Div</div>
This div border color is #6B3BAA.
.myOpacity80 { color: #6B3BAA; opacity: 0.8; }
<p style="color:#6B3BAA;opacity:0.8;">80%</p>
Text with #6B3BAA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B3BAA;}
<p style="text-shadow: 3px 3px 1px #6B3BAA">Text here.</p>
This text has shadow with #6B3BAA color.
.textShadow {text-shadow: 3px 3px 1px #6B3BAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B3BAA, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B3BAA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B3BAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B3BAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B3BAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B3BAA; -webkit-box-shadow: 1px 1px 3px 2px #6B3BAA; box-shadow: 1px 1px 3px 2px #6B3BAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B3BAA; -webkit-box-shadow: 1px 1px 3px 2px #6B3BAA; box-shadow:1px 1px 3px 2px #6B3BAA;">
Div content here</div>
This text has color #6B3BAA on black background.
This text has color #6B3BAA on white background.
This text has black color on #6B3BAA background.
This text has white color on #6B3BAA background.