HEX: #6B5AD4
RGB: (107,90,212)
#6B5AD4 contains mainly blue color. Web safe color of #6B5AD4 is #6666CC (or #66C).
#6B5AD4 color RGB value is (107,90,212).
RGB: (107,90,212) (42%,35%,83%)
R 107 of 255 = 42%
G 90 of 255 = 35%
B 212 of 255 = 83%
R + G + B ~ 53%. #6B5AD4 is middle color (not dark and not light).
R + G + B =
107 + 90 + 212 = 409 (100%)
R 107 of 409 ~ 26.16%
G 90 of 409 ~ 22%
B 212 of 409 ~ 51.83%
#6B5AD4 color CMYK value is (50,58,0,17).
CMYK: (50,58,0,17) C50M58Y0K17 (50%,58%,0%,17%) (0.50/0.58/0.00/0.17)
6B | 5A | D4 | |
---|---|---|---|
RGB | 107 | 90 | 212 |
HSL | 248° | 58.65% | 59.22% |
HSB/HSV | 248° | 57.55% | 83.14% |
CMYK | 49.53% | 57.55% | 0.00% |
16.86% |
HEX | 6B | 5A | D4 |
Decimal | 107 | 90 | 212 |
Binary | 1101011 | 1011010 | 11010100 |
Octal | 153 | 132 | 324 |
Examples of css and html codes for elements with #6B5AD4 color. Also use rgb(107,90,212) instead hex code.
.myTextColor { color: #6B5AD4; }
<p style="color:#6B5AD4">This sample text font color is #6B5AD4.</p>
This text font color is #6B5AD4.
.myBgColor { background-color: #6B5AD4; }
<div style="background-color:#6B5AD4">Inner text</div>
This div background color is #6B5AD4.
.myBorderColor { border: 1px solid #6B5AD4; }
<div style="border:3px solid #6B5AD4">Div</div>
This div border color is #6B5AD4.
.myOpacity80 { color: #6B5AD4; opacity: 0.8; }
<p style="color:#6B5AD4;opacity:0.8;">80%</p>
Text with #6B5AD4 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B5AD4;}
<p style="text-shadow: 3px 3px 1px #6B5AD4">Text here.</p>
This text has shadow with #6B5AD4 color.
.textShadow {text-shadow: 3px 3px 1px #6B5AD4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B5AD4, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B5AD4 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B5AD4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B5AD4, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B5AD4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B5AD4; -webkit-box-shadow: 1px 1px 3px 2px #6B5AD4; box-shadow: 1px 1px 3px 2px #6B5AD4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B5AD4; -webkit-box-shadow: 1px 1px 3px 2px #6B5AD4; box-shadow:1px 1px 3px 2px #6B5AD4;">
Div content here</div>
This text has color #6B5AD4 on black background.
This text has color #6B5AD4 on white background.
This text has black color on #6B5AD4 background.
This text has white color on #6B5AD4 background.