HEX: #87A6EF
RGB: (135,166,239)
#87A6EF contains mainly blue color. Web safe color of #87A6EF is #9999FF (or #99F).
#87A6EF color RGB value is (135,166,239).
RGB: (135,166,239) (53%,65%,94%)
R 135 of 255 = 53%
G 166 of 255 = 65%
B 239 of 255 = 94%
R + G + B ~ 71%. #87A6EF is quite light color.
R + G + B =
135 + 166 + 239 = 540 (100%)
R 135 of 540 ~ 25%
G 166 of 540 ~ 30.74%
B 239 of 540 ~ 44.26%
#87A6EF color CMYK value is (44,31,0,6).
CMYK: (44,31,0,6) C44M31Y0K6 (44%,31%,0%,6%) (0.44/0.31/0.00/0.06)
87 | A6 | EF | |
---|---|---|---|
RGB | 135 | 166 | 239 |
HSL | 222° | 76.47% | 73.33% |
HSB/HSV | 222° | 43.51% | 93.73% |
CMYK | 43.51% | 30.54% | 0.00% |
6.27% |
HEX | 87 | A6 | EF |
Decimal | 135 | 166 | 239 |
Binary | 10000111 | 10100110 | 11101111 |
Octal | 207 | 246 | 357 |
Examples of css and html codes for elements with #87A6EF color. Also use rgb(135,166,239) instead hex code.
.myTextColor { color: #87A6EF; }
<p style="color:#87A6EF">This sample text font color is #87A6EF.</p>
This text font color is #87A6EF.
.myBgColor { background-color: #87A6EF; }
<div style="background-color:#87A6EF">Inner text</div>
This div background color is #87A6EF.
.myBorderColor { border: 1px solid #87A6EF; }
<div style="border:3px solid #87A6EF">Div</div>
This div border color is #87A6EF.
.myOpacity80 { color: #87A6EF; opacity: 0.8; }
<p style="color:#87A6EF;opacity:0.8;">80%</p>
Text with #87A6EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87A6EF;}
<p style="text-shadow: 3px 3px 1px #87A6EF">Text here.</p>
This text has shadow with #87A6EF color.
.textShadow {text-shadow: 3px 3px 1px #87A6EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87A6EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #87A6EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87A6EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87A6EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #87A6EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87A6EF; -webkit-box-shadow: 1px 1px 3px 2px #87A6EF; box-shadow: 1px 1px 3px 2px #87A6EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87A6EF; -webkit-box-shadow: 1px 1px 3px 2px #87A6EF; box-shadow:1px 1px 3px 2px #87A6EF;">
Div content here</div>
This text has color #87A6EF on black background.
This text has color #87A6EF on white background.
This text has black color on #87A6EF background.
This text has white color on #87A6EF background.