HEX: #668BD7
RGB: (102,139,215)
#668BD7 contains mainly blue color. Web safe color of #668BD7 is #6699CC (or #69C).
#668BD7 color RGB value is (102,139,215).
RGB: (102,139,215) (40%,55%,84%)
R 102 of 255 = 40%
G 139 of 255 = 55%
B 215 of 255 = 84%
R + G + B ~ 60%. #668BD7 is middle color (not dark and not light).
R + G + B =
102 + 139 + 215 = 456 (100%)
R 102 of 456 ~ 22.37%
G 139 of 456 ~ 30.48%
B 215 of 456 ~ 47.15%
#668BD7 color CMYK value is (53,35,0,16).
CMYK: (53,35,0,16) C53M35Y0K16 (53%,35%,0%,16%) (0.53/0.35/0.00/0.16)
66 | 8B | D7 | |
---|---|---|---|
RGB | 102 | 139 | 215 |
HSL | 220° | 58.55% | 62.16% |
HSB/HSV | 220° | 52.56% | 84.31% |
CMYK | 52.56% | 35.35% | 0.00% |
15.69% |
HEX | 66 | 8B | D7 |
Decimal | 102 | 139 | 215 |
Binary | 1100110 | 10001011 | 11010111 |
Octal | 146 | 213 | 327 |
Examples of css and html codes for elements with #668BD7 color. Also use rgb(102,139,215) instead hex code.
.myTextColor { color: #668BD7; }
<p style="color:#668BD7">This sample text font color is #668BD7.</p>
This text font color is #668BD7.
.myBgColor { background-color: #668BD7; }
<div style="background-color:#668BD7">Inner text</div>
This div background color is #668BD7.
.myBorderColor { border: 1px solid #668BD7; }
<div style="border:3px solid #668BD7">Div</div>
This div border color is #668BD7.
.myOpacity80 { color: #668BD7; opacity: 0.8; }
<p style="color:#668BD7;opacity:0.8;">80%</p>
Text with #668BD7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #668BD7;}
<p style="text-shadow: 3px 3px 1px #668BD7">Text here.</p>
This text has shadow with #668BD7 color.
.textShadow {text-shadow: 3px 3px 1px #668BD7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #668BD7, 5px 5px 20px red">Text here.</p>
This text has shadow with #668BD7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#668BD7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#668BD7, Direction=45, Strength=4)">Text</p>
This text has shadow with #668BD7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #668BD7; -webkit-box-shadow: 1px 1px 3px 2px #668BD7; box-shadow: 1px 1px 3px 2px #668BD7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #668BD7; -webkit-box-shadow: 1px 1px 3px 2px #668BD7; box-shadow:1px 1px 3px 2px #668BD7;">
Div content here</div>
This text has color #668BD7 on black background.
This text has color #668BD7 on white background.
This text has black color on #668BD7 background.
This text has white color on #668BD7 background.