HEX: #6B51E1
RGB: (107,81,225)
#6B51E1 contains mainly blue color. Web safe color of #6B51E1 is #6666CC (or #66C).
#6B51E1 color RGB value is (107,81,225).
RGB: (107,81,225) (42%,32%,88%)
R 107 of 255 = 42%
G 81 of 255 = 32%
B 225 of 255 = 88%
R + G + B ~ 54%. #6B51E1 is middle color (not dark and not light).
R + G + B =
107 + 81 + 225 = 413 (100%)
R 107 of 413 ~ 25.91%
G 81 of 413 ~ 19.61%
B 225 of 413 ~ 54.48%
#6B51E1 color CMYK value is (52,64,0,12).
CMYK: (52,64,0,12) C52M64Y0K12 (52%,64%,0%,12%) (0.52/0.64/0.00/0.12)
6B | 51 | E1 | |
---|---|---|---|
RGB | 107 | 81 | 225 |
HSL | 251° | 70.59% | 60.00% |
HSB/HSV | 251° | 64.00% | 88.24% |
CMYK | 52.44% | 64.00% | 0.00% |
11.76% |
HEX | 6B | 51 | E1 |
Decimal | 107 | 81 | 225 |
Binary | 1101011 | 1010001 | 11100001 |
Octal | 153 | 121 | 341 |
Examples of css and html codes for elements with #6B51E1 color. Also use rgb(107,81,225) instead hex code.
.myTextColor { color: #6B51E1; }
<p style="color:#6B51E1">This sample text font color is #6B51E1.</p>
This text font color is #6B51E1.
.myBgColor { background-color: #6B51E1; }
<div style="background-color:#6B51E1">Inner text</div>
This div background color is #6B51E1.
.myBorderColor { border: 1px solid #6B51E1; }
<div style="border:3px solid #6B51E1">Div</div>
This div border color is #6B51E1.
.myOpacity80 { color: #6B51E1; opacity: 0.8; }
<p style="color:#6B51E1;opacity:0.8;">80%</p>
Text with #6B51E1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B51E1;}
<p style="text-shadow: 3px 3px 1px #6B51E1">Text here.</p>
This text has shadow with #6B51E1 color.
.textShadow {text-shadow: 3px 3px 1px #6B51E1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B51E1, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B51E1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B51E1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B51E1, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B51E1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B51E1; -webkit-box-shadow: 1px 1px 3px 2px #6B51E1; box-shadow: 1px 1px 3px 2px #6B51E1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B51E1; -webkit-box-shadow: 1px 1px 3px 2px #6B51E1; box-shadow:1px 1px 3px 2px #6B51E1;">
Div content here</div>
This text has color #6B51E1 on black background.
This text has color #6B51E1 on white background.
This text has black color on #6B51E1 background.
This text has white color on #6B51E1 background.