HEX: #6A87EB
RGB: (106,135,235)
#6A87EB contains mainly blue color. Web safe color of #6A87EB is #6699FF (or #69F).
#6A87EB color RGB value is (106,135,235).
RGB: (106,135,235) (42%,53%,92%)
R 106 of 255 = 42%
G 135 of 255 = 53%
B 235 of 255 = 92%
R + G + B ~ 62%. #6A87EB is quite light color.
R + G + B =
106 + 135 + 235 = 476 (100%)
R 106 of 476 ~ 22.27%
G 135 of 476 ~ 28.36%
B 235 of 476 ~ 49.37%
#6A87EB color CMYK value is (55,43,0,8).
CMYK: (55,43,0,8) C55M43Y0K8 (55%,43%,0%,8%) (0.55/0.43/0.00/0.08)
6A | 87 | EB | |
---|---|---|---|
RGB | 106 | 135 | 235 |
HSL | 227° | 76.33% | 66.86% |
HSB/HSV | 227° | 54.89% | 92.16% |
CMYK | 54.89% | 42.55% | 0.00% |
7.84% |
HEX | 6A | 87 | EB |
Decimal | 106 | 135 | 235 |
Binary | 1101010 | 10000111 | 11101011 |
Octal | 152 | 207 | 353 |
Examples of css and html codes for elements with #6A87EB color. Also use rgb(106,135,235) instead hex code.
.myTextColor { color: #6A87EB; }
<p style="color:#6A87EB">This sample text font color is #6A87EB.</p>
This text font color is #6A87EB.
.myBgColor { background-color: #6A87EB; }
<div style="background-color:#6A87EB">Inner text</div>
This div background color is #6A87EB.
.myBorderColor { border: 1px solid #6A87EB; }
<div style="border:3px solid #6A87EB">Div</div>
This div border color is #6A87EB.
.myOpacity80 { color: #6A87EB; opacity: 0.8; }
<p style="color:#6A87EB;opacity:0.8;">80%</p>
Text with #6A87EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A87EB;}
<p style="text-shadow: 3px 3px 1px #6A87EB">Text here.</p>
This text has shadow with #6A87EB color.
.textShadow {text-shadow: 3px 3px 1px #6A87EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A87EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #6A87EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A87EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A87EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A87EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A87EB; -webkit-box-shadow: 1px 1px 3px 2px #6A87EB; box-shadow: 1px 1px 3px 2px #6A87EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A87EB; -webkit-box-shadow: 1px 1px 3px 2px #6A87EB; box-shadow:1px 1px 3px 2px #6A87EB;">
Div content here</div>
This text has color #6A87EB on black background.
This text has color #6A87EB on white background.
This text has black color on #6A87EB background.
This text has white color on #6A87EB background.