HEX: #6B57BD
RGB: (107,87,189)
#6B57BD contains mainly blue color. Web safe color of #6B57BD is #6666CC (or #66C).
#6B57BD color RGB value is (107,87,189).
RGB: (107,87,189) (42%,34%,74%)
R 107 of 255 = 42%
G 87 of 255 = 34%
B 189 of 255 = 74%
R + G + B ~ 50%. #6B57BD is middle color (not dark and not light).
R + G + B =
107 + 87 + 189 = 383 (100%)
R 107 of 383 ~ 27.94%
G 87 of 383 ~ 22.72%
B 189 of 383 ~ 49.35%
#6B57BD color CMYK value is (43,54,0,26).
CMYK: (43,54,0,26) C43M54Y0K26 (43%,54%,0%,26%) (0.43/0.54/0.00/0.26)
6B | 57 | BD | |
---|---|---|---|
RGB | 107 | 87 | 189 |
HSL | 252° | 43.59% | 54.12% |
HSB/HSV | 252° | 53.97% | 74.12% |
CMYK | 43.39% | 53.97% | 0.00% |
25.88% |
HEX | 6B | 57 | BD |
Decimal | 107 | 87 | 189 |
Binary | 1101011 | 1010111 | 10111101 |
Octal | 153 | 127 | 275 |
Examples of css and html codes for elements with #6B57BD color. Also use rgb(107,87,189) instead hex code.
.myTextColor { color: #6B57BD; }
<p style="color:#6B57BD">This sample text font color is #6B57BD.</p>
This text font color is #6B57BD.
.myBgColor { background-color: #6B57BD; }
<div style="background-color:#6B57BD">Inner text</div>
This div background color is #6B57BD.
.myBorderColor { border: 1px solid #6B57BD; }
<div style="border:3px solid #6B57BD">Div</div>
This div border color is #6B57BD.
.myOpacity80 { color: #6B57BD; opacity: 0.8; }
<p style="color:#6B57BD;opacity:0.8;">80%</p>
Text with #6B57BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B57BD;}
<p style="text-shadow: 3px 3px 1px #6B57BD">Text here.</p>
This text has shadow with #6B57BD color.
.textShadow {text-shadow: 3px 3px 1px #6B57BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B57BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B57BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B57BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B57BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B57BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B57BD; -webkit-box-shadow: 1px 1px 3px 2px #6B57BD; box-shadow: 1px 1px 3px 2px #6B57BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B57BD; -webkit-box-shadow: 1px 1px 3px 2px #6B57BD; box-shadow:1px 1px 3px 2px #6B57BD;">
Div content here</div>
This text has color #6B57BD on black background.
This text has color #6B57BD on white background.
This text has black color on #6B57BD background.
This text has white color on #6B57BD background.