HEX: #6B5CE8
RGB: (107,92,232)
#6B5CE8 contains mainly blue color. Web safe color of #6B5CE8 is #6666FF (or #66F).
#6B5CE8 color RGB value is (107,92,232).
RGB: (107,92,232) (42%,36%,91%)
R 107 of 255 = 42%
G 92 of 255 = 36%
B 232 of 255 = 91%
R + G + B ~ 56%. #6B5CE8 is middle color (not dark and not light).
R + G + B =
107 + 92 + 232 = 431 (100%)
R 107 of 431 ~ 24.83%
G 92 of 431 ~ 21.35%
B 232 of 431 ~ 53.83%
#6B5CE8 color CMYK value is (54,60,0,9).
CMYK: (54,60,0,9) C54M60Y0K9 (54%,60%,0%,9%) (0.54/0.60/0.00/0.09)
6B | 5C | E8 | |
---|---|---|---|
RGB | 107 | 92 | 232 |
HSL | 246° | 75.27% | 63.53% |
HSB/HSV | 246° | 60.34% | 90.98% |
CMYK | 53.88% | 60.34% | 0.00% |
9.02% |
HEX | 6B | 5C | E8 |
Decimal | 107 | 92 | 232 |
Binary | 1101011 | 1011100 | 11101000 |
Octal | 153 | 134 | 350 |
Examples of css and html codes for elements with #6B5CE8 color. Also use rgb(107,92,232) instead hex code.
.myTextColor { color: #6B5CE8; }
<p style="color:#6B5CE8">This sample text font color is #6B5CE8.</p>
This text font color is #6B5CE8.
.myBgColor { background-color: #6B5CE8; }
<div style="background-color:#6B5CE8">Inner text</div>
This div background color is #6B5CE8.
.myBorderColor { border: 1px solid #6B5CE8; }
<div style="border:3px solid #6B5CE8">Div</div>
This div border color is #6B5CE8.
.myOpacity80 { color: #6B5CE8; opacity: 0.8; }
<p style="color:#6B5CE8;opacity:0.8;">80%</p>
Text with #6B5CE8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B5CE8;}
<p style="text-shadow: 3px 3px 1px #6B5CE8">Text here.</p>
This text has shadow with #6B5CE8 color.
.textShadow {text-shadow: 3px 3px 1px #6B5CE8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B5CE8, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B5CE8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B5CE8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B5CE8, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B5CE8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B5CE8; -webkit-box-shadow: 1px 1px 3px 2px #6B5CE8; box-shadow: 1px 1px 3px 2px #6B5CE8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B5CE8; -webkit-box-shadow: 1px 1px 3px 2px #6B5CE8; box-shadow:1px 1px 3px 2px #6B5CE8;">
Div content here</div>
This text has color #6B5CE8 on black background.
This text has color #6B5CE8 on white background.
This text has black color on #6B5CE8 background.
This text has white color on #6B5CE8 background.