HEX: #6C87DA
RGB: (108,135,218)
#6C87DA contains mainly blue color. Web safe color of #6C87DA is #6699CC (or #69C).
#6C87DA color RGB value is (108,135,218).
RGB: (108,135,218) (42%,53%,85%)
R 108 of 255 = 42%
G 135 of 255 = 53%
B 218 of 255 = 85%
R + G + B ~ 60%. #6C87DA is middle color (not dark and not light).
R + G + B =
108 + 135 + 218 = 461 (100%)
R 108 of 461 ~ 23.43%
G 135 of 461 ~ 29.28%
B 218 of 461 ~ 47.29%
#6C87DA color CMYK value is (50,38,0,15).
CMYK: (50,38,0,15) C50M38Y0K15 (50%,38%,0%,15%) (0.50/0.38/0.00/0.15)
6C | 87 | DA | |
---|---|---|---|
RGB | 108 | 135 | 218 |
HSL | 225° | 59.78% | 63.92% |
HSB/HSV | 225° | 50.46% | 85.49% |
CMYK | 50.46% | 38.07% | 0.00% |
14.51% |
HEX | 6C | 87 | DA |
Decimal | 108 | 135 | 218 |
Binary | 1101100 | 10000111 | 11011010 |
Octal | 154 | 207 | 332 |
Examples of css and html codes for elements with #6C87DA color. Also use rgb(108,135,218) instead hex code.
.myTextColor { color: #6C87DA; }
<p style="color:#6C87DA">This sample text font color is #6C87DA.</p>
This text font color is #6C87DA.
.myBgColor { background-color: #6C87DA; }
<div style="background-color:#6C87DA">Inner text</div>
This div background color is #6C87DA.
.myBorderColor { border: 1px solid #6C87DA; }
<div style="border:3px solid #6C87DA">Div</div>
This div border color is #6C87DA.
.myOpacity80 { color: #6C87DA; opacity: 0.8; }
<p style="color:#6C87DA;opacity:0.8;">80%</p>
Text with #6C87DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C87DA;}
<p style="text-shadow: 3px 3px 1px #6C87DA">Text here.</p>
This text has shadow with #6C87DA color.
.textShadow {text-shadow: 3px 3px 1px #6C87DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C87DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C87DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C87DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C87DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C87DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C87DA; -webkit-box-shadow: 1px 1px 3px 2px #6C87DA; box-shadow: 1px 1px 3px 2px #6C87DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C87DA; -webkit-box-shadow: 1px 1px 3px 2px #6C87DA; box-shadow:1px 1px 3px 2px #6C87DA;">
Div content here</div>
This text has color #6C87DA on black background.
This text has color #6C87DA on white background.
This text has black color on #6C87DA background.
This text has white color on #6C87DA background.