HEX: #87A5CD
RGB: (135,165,205)
#87A5CD contains mainly green and blue colors. Web safe color of #87A5CD is #9999CC (or #99C).
#87A5CD color RGB value is (135,165,205).
RGB: (135,165,205) (53%,65%,80%)
R 135 of 255 = 53%
G 165 of 255 = 65%
B 205 of 255 = 80%
R + G + B ~ 66%. #87A5CD is quite light color.
R + G + B =
135 + 165 + 205 = 505 (100%)
R 135 of 505 ~ 26.73%
G 165 of 505 ~ 32.67%
B 205 of 505 ~ 40.59%
#87A5CD color CMYK value is (34,20,0,20).
CMYK: (34,20,0,20) C34M20Y0K20 (34%,20%,0%,20%) (0.34/0.20/0.00/0.20)
87 | A5 | CD | |
---|---|---|---|
RGB | 135 | 165 | 205 |
HSL | 214° | 41.18% | 66.67% |
HSB/HSV | 214° | 34.15% | 80.39% |
CMYK | 34.15% | 19.51% | 0.00% |
19.61% |
HEX | 87 | A5 | CD |
Decimal | 135 | 165 | 205 |
Binary | 10000111 | 10100101 | 11001101 |
Octal | 207 | 245 | 315 |
Examples of css and html codes for elements with #87A5CD color. Also use rgb(135,165,205) instead hex code.
.myTextColor { color: #87A5CD; }
<p style="color:#87A5CD">This sample text font color is #87A5CD.</p>
This text font color is #87A5CD.
.myBgColor { background-color: #87A5CD; }
<div style="background-color:#87A5CD">Inner text</div>
This div background color is #87A5CD.
.myBorderColor { border: 1px solid #87A5CD; }
<div style="border:3px solid #87A5CD">Div</div>
This div border color is #87A5CD.
.myOpacity80 { color: #87A5CD; opacity: 0.8; }
<p style="color:#87A5CD;opacity:0.8;">80%</p>
Text with #87A5CD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87A5CD;}
<p style="text-shadow: 3px 3px 1px #87A5CD">Text here.</p>
This text has shadow with #87A5CD color.
.textShadow {text-shadow: 3px 3px 1px #87A5CD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87A5CD, 5px 5px 20px red">Text here.</p>
This text has shadow with #87A5CD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87A5CD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87A5CD, Direction=45, Strength=4)">Text</p>
This text has shadow with #87A5CD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87A5CD; -webkit-box-shadow: 1px 1px 3px 2px #87A5CD; box-shadow: 1px 1px 3px 2px #87A5CD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87A5CD; -webkit-box-shadow: 1px 1px 3px 2px #87A5CD; box-shadow:1px 1px 3px 2px #87A5CD;">
Div content here</div>
This text has color #87A5CD on black background.
This text has color #87A5CD on white background.
This text has black color on #87A5CD background.
This text has white color on #87A5CD background.