HEX: #8CB9DD
RGB: (140,185,221)
#8CB9DD contains mainly green and blue colors. Web safe color of #8CB9DD is #99CCCC (or #9CC).
#8CB9DD color RGB value is (140,185,221).
RGB: (140,185,221) (55%,73%,87%)
R 140 of 255 = 55%
G 185 of 255 = 73%
B 221 of 255 = 87%
R + G + B ~ 72%. #8CB9DD is quite light color.
R + G + B =
140 + 185 + 221 = 546 (100%)
R 140 of 546 ~ 25.64%
G 185 of 546 ~ 33.88%
B 221 of 546 ~ 40.48%
#8CB9DD color CMYK value is (37,16,0,13).
CMYK: (37,16,0,13) C37M16Y0K13 (37%,16%,0%,13%) (0.37/0.16/0.00/0.13)
8C | B9 | DD | |
---|---|---|---|
RGB | 140 | 185 | 221 |
HSL | 207° | 54.36% | 70.78% |
HSB/HSV | 207° | 36.65% | 86.67% |
CMYK | 36.65% | 16.29% | 0.00% |
13.33% |
HEX | 8C | B9 | DD |
Decimal | 140 | 185 | 221 |
Binary | 10001100 | 10111001 | 11011101 |
Octal | 214 | 271 | 335 |
Examples of css and html codes for elements with #8CB9DD color. Also use rgb(140,185,221) instead hex code.
.myTextColor { color: #8CB9DD; }
<p style="color:#8CB9DD">This sample text font color is #8CB9DD.</p>
This text font color is #8CB9DD.
.myBgColor { background-color: #8CB9DD; }
<div style="background-color:#8CB9DD">Inner text</div>
This div background color is #8CB9DD.
.myBorderColor { border: 1px solid #8CB9DD; }
<div style="border:3px solid #8CB9DD">Div</div>
This div border color is #8CB9DD.
.myOpacity80 { color: #8CB9DD; opacity: 0.8; }
<p style="color:#8CB9DD;opacity:0.8;">80%</p>
Text with #8CB9DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8CB9DD;}
<p style="text-shadow: 3px 3px 1px #8CB9DD">Text here.</p>
This text has shadow with #8CB9DD color.
.textShadow {text-shadow: 3px 3px 1px #8CB9DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8CB9DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #8CB9DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8CB9DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8CB9DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #8CB9DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8CB9DD; -webkit-box-shadow: 1px 1px 3px 2px #8CB9DD; box-shadow: 1px 1px 3px 2px #8CB9DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8CB9DD; -webkit-box-shadow: 1px 1px 3px 2px #8CB9DD; box-shadow:1px 1px 3px 2px #8CB9DD;">
Div content here</div>
This text has color #8CB9DD on black background.
This text has color #8CB9DD on white background.
This text has black color on #8CB9DD background.
This text has white color on #8CB9DD background.