HEX: #6B3EAD
RGB: (107,62,173)
#6B3EAD contains mainly blue color. Web safe color of #6B3EAD is #663399 (or #639).
#6B3EAD color RGB value is (107,62,173).
RGB: (107,62,173) (42%,24%,68%)
R 107 of 255 = 42%
G 62 of 255 = 24%
B 173 of 255 = 68%
R + G + B ~ 45%. #6B3EAD is middle color (not dark and not light).
R + G + B =
107 + 62 + 173 = 342 (100%)
R 107 of 342 ~ 31.29%
G 62 of 342 ~ 18.13%
B 173 of 342 ~ 50.58%
#6B3EAD color CMYK value is (38,64,0,32).
CMYK: (38,64,0,32) C38M64Y0K32 (38%,64%,0%,32%) (0.38/0.64/0.00/0.32)
6B | 3E | AD | |
---|---|---|---|
RGB | 107 | 62 | 173 |
HSL | 264° | 47.23% | 46.08% |
HSB/HSV | 264° | 64.16% | 67.84% |
CMYK | 38.15% | 64.16% | 0.00% |
32.16% |
HEX | 6B | 3E | AD |
Decimal | 107 | 62 | 173 |
Binary | 1101011 | 111110 | 10101101 |
Octal | 153 | 76 | 255 |
Examples of css and html codes for elements with #6B3EAD color. Also use rgb(107,62,173) instead hex code.
.myTextColor { color: #6B3EAD; }
<p style="color:#6B3EAD">This sample text font color is #6B3EAD.</p>
This text font color is #6B3EAD.
.myBgColor { background-color: #6B3EAD; }
<div style="background-color:#6B3EAD">Inner text</div>
This div background color is #6B3EAD.
.myBorderColor { border: 1px solid #6B3EAD; }
<div style="border:3px solid #6B3EAD">Div</div>
This div border color is #6B3EAD.
.myOpacity80 { color: #6B3EAD; opacity: 0.8; }
<p style="color:#6B3EAD;opacity:0.8;">80%</p>
Text with #6B3EAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B3EAD;}
<p style="text-shadow: 3px 3px 1px #6B3EAD">Text here.</p>
This text has shadow with #6B3EAD color.
.textShadow {text-shadow: 3px 3px 1px #6B3EAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B3EAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B3EAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B3EAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B3EAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B3EAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B3EAD; -webkit-box-shadow: 1px 1px 3px 2px #6B3EAD; box-shadow: 1px 1px 3px 2px #6B3EAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B3EAD; -webkit-box-shadow: 1px 1px 3px 2px #6B3EAD; box-shadow:1px 1px 3px 2px #6B3EAD;">
Div content here</div>
This text has color #6B3EAD on black background.
This text has color #6B3EAD on white background.
This text has black color on #6B3EAD background.
This text has white color on #6B3EAD background.