HEX: #6B51DA
RGB: (107,81,218)
#6B51DA contains mainly blue color. Web safe color of #6B51DA is #6666CC (or #66C).
#6B51DA color RGB value is (107,81,218).
RGB: (107,81,218) (42%,32%,85%)
R 107 of 255 = 42%
G 81 of 255 = 32%
B 218 of 255 = 85%
R + G + B ~ 53%. #6B51DA is middle color (not dark and not light).
R + G + B =
107 + 81 + 218 = 406 (100%)
R 107 of 406 ~ 26.35%
G 81 of 406 ~ 19.95%
B 218 of 406 ~ 53.69%
#6B51DA color CMYK value is (51,63,0,15).
CMYK: (51,63,0,15) C51M63Y0K15 (51%,63%,0%,15%) (0.51/0.63/0.00/0.15)
6B | 51 | DA | |
---|---|---|---|
RGB | 107 | 81 | 218 |
HSL | 251° | 64.93% | 58.63% |
HSB/HSV | 251° | 62.84% | 85.49% |
CMYK | 50.92% | 62.84% | 0.00% |
14.51% |
HEX | 6B | 51 | DA |
Decimal | 107 | 81 | 218 |
Binary | 1101011 | 1010001 | 11011010 |
Octal | 153 | 121 | 332 |
Examples of css and html codes for elements with #6B51DA color. Also use rgb(107,81,218) instead hex code.
.myTextColor { color: #6B51DA; }
<p style="color:#6B51DA">This sample text font color is #6B51DA.</p>
This text font color is #6B51DA.
.myBgColor { background-color: #6B51DA; }
<div style="background-color:#6B51DA">Inner text</div>
This div background color is #6B51DA.
.myBorderColor { border: 1px solid #6B51DA; }
<div style="border:3px solid #6B51DA">Div</div>
This div border color is #6B51DA.
.myOpacity80 { color: #6B51DA; opacity: 0.8; }
<p style="color:#6B51DA;opacity:0.8;">80%</p>
Text with #6B51DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B51DA;}
<p style="text-shadow: 3px 3px 1px #6B51DA">Text here.</p>
This text has shadow with #6B51DA color.
.textShadow {text-shadow: 3px 3px 1px #6B51DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B51DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B51DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B51DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B51DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B51DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B51DA; -webkit-box-shadow: 1px 1px 3px 2px #6B51DA; box-shadow: 1px 1px 3px 2px #6B51DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B51DA; -webkit-box-shadow: 1px 1px 3px 2px #6B51DA; box-shadow:1px 1px 3px 2px #6B51DA;">
Div content here</div>
This text has color #6B51DA on black background.
This text has color #6B51DA on white background.
This text has black color on #6B51DA background.
This text has white color on #6B51DA background.