HEX: #6F8EF6
RGB: (111,142,246)
#6F8EF6 contains mainly blue color. Web safe color of #6F8EF6 is #6699FF (or #69F).
#6F8EF6 color RGB value is (111,142,246).
RGB: (111,142,246) (44%,56%,96%)
R 111 of 255 = 44%
G 142 of 255 = 56%
B 246 of 255 = 96%
R + G + B ~ 65%. #6F8EF6 is quite light color.
R + G + B =
111 + 142 + 246 = 499 (100%)
R 111 of 499 ~ 22.24%
G 142 of 499 ~ 28.46%
B 246 of 499 ~ 49.3%
#6F8EF6 color CMYK value is (55,42,0,4).
CMYK: (55,42,0,4) C55M42Y0K4 (55%,42%,0%,4%) (0.55/0.42/0.00/0.04)
6F | 8E | F6 | |
---|---|---|---|
RGB | 111 | 142 | 246 |
HSL | 226° | 88.24% | 70.00% |
HSB/HSV | 226° | 54.88% | 96.47% |
CMYK | 54.88% | 42.28% | 0.00% |
3.53% |
HEX | 6F | 8E | F6 |
Decimal | 111 | 142 | 246 |
Binary | 1101111 | 10001110 | 11110110 |
Octal | 157 | 216 | 366 |
Examples of css and html codes for elements with #6F8EF6 color. Also use rgb(111,142,246) instead hex code.
.myTextColor { color: #6F8EF6; }
<p style="color:#6F8EF6">This sample text font color is #6F8EF6.</p>
This text font color is #6F8EF6.
.myBgColor { background-color: #6F8EF6; }
<div style="background-color:#6F8EF6">Inner text</div>
This div background color is #6F8EF6.
.myBorderColor { border: 1px solid #6F8EF6; }
<div style="border:3px solid #6F8EF6">Div</div>
This div border color is #6F8EF6.
.myOpacity80 { color: #6F8EF6; opacity: 0.8; }
<p style="color:#6F8EF6;opacity:0.8;">80%</p>
Text with #6F8EF6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6F8EF6;}
<p style="text-shadow: 3px 3px 1px #6F8EF6">Text here.</p>
This text has shadow with #6F8EF6 color.
.textShadow {text-shadow: 3px 3px 1px #6F8EF6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6F8EF6, 5px 5px 20px red">Text here.</p>
This text has shadow with #6F8EF6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6F8EF6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6F8EF6, Direction=45, Strength=4)">Text</p>
This text has shadow with #6F8EF6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6F8EF6; -webkit-box-shadow: 1px 1px 3px 2px #6F8EF6; box-shadow: 1px 1px 3px 2px #6F8EF6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6F8EF6; -webkit-box-shadow: 1px 1px 3px 2px #6F8EF6; box-shadow:1px 1px 3px 2px #6F8EF6;">
Div content here</div>
This text has color #6F8EF6 on black background.
This text has color #6F8EF6 on white background.
This text has black color on #6F8EF6 background.
This text has white color on #6F8EF6 background.