HEX: #6B6BAF
RGB: (107,107,175)
#6B6BAF contains mainly blue color. Web safe color of #6B6BAF is #666699 (or #669).
#6B6BAF color RGB value is (107,107,175).
RGB: (107,107,175) (42%,42%,69%)
R 107 of 255 = 42%
G 107 of 255 = 42%
B 175 of 255 = 69%
R + G + B ~ 51%. #6B6BAF is middle color (not dark and not light).
R + G + B =
107 + 107 + 175 = 389 (100%)
R 107 of 389 ~ 27.51%
G 107 of 389 ~ 27.51%
B 175 of 389 ~ 44.99%
#6B6BAF color CMYK value is (39,39,0,31).
CMYK: (39,39,0,31) C39M39Y0K31 (39%,39%,0%,31%) (0.39/0.39/0.00/0.31)
6B | 6B | AF | |
---|---|---|---|
RGB | 107 | 107 | 175 |
HSL | 240° | 29.82% | 55.29% |
HSB/HSV | 240° | 38.86% | 68.63% |
CMYK | 38.86% | 38.86% | 0.00% |
31.37% |
HEX | 6B | 6B | AF |
Decimal | 107 | 107 | 175 |
Binary | 1101011 | 1101011 | 10101111 |
Octal | 153 | 153 | 257 |
Examples of css and html codes for elements with #6B6BAF color. Also use rgb(107,107,175) instead hex code.
.myTextColor { color: #6B6BAF; }
<p style="color:#6B6BAF">This sample text font color is #6B6BAF.</p>
This text font color is #6B6BAF.
.myBgColor { background-color: #6B6BAF; }
<div style="background-color:#6B6BAF">Inner text</div>
This div background color is #6B6BAF.
.myBorderColor { border: 1px solid #6B6BAF; }
<div style="border:3px solid #6B6BAF">Div</div>
This div border color is #6B6BAF.
.myOpacity80 { color: #6B6BAF; opacity: 0.8; }
<p style="color:#6B6BAF;opacity:0.8;">80%</p>
Text with #6B6BAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B6BAF;}
<p style="text-shadow: 3px 3px 1px #6B6BAF">Text here.</p>
This text has shadow with #6B6BAF color.
.textShadow {text-shadow: 3px 3px 1px #6B6BAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B6BAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B6BAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B6BAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B6BAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B6BAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B6BAF; -webkit-box-shadow: 1px 1px 3px 2px #6B6BAF; box-shadow: 1px 1px 3px 2px #6B6BAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B6BAF; -webkit-box-shadow: 1px 1px 3px 2px #6B6BAF; box-shadow:1px 1px 3px 2px #6B6BAF;">
Div content here</div>
This text has color #6B6BAF on black background.
This text has color #6B6BAF on white background.
This text has black color on #6B6BAF background.
This text has white color on #6B6BAF background.