HEX: #666AE1
RGB: (102,106,225)
#666AE1 contains mainly blue color. Web safe color of #666AE1 is #6666CC (or #66C).
#666AE1 color RGB value is (102,106,225).
RGB: (102,106,225) (40%,42%,88%)
R 102 of 255 = 40%
G 106 of 255 = 42%
B 225 of 255 = 88%
R + G + B ~ 57%. #666AE1 is middle color (not dark and not light).
R + G + B =
102 + 106 + 225 = 433 (100%)
R 102 of 433 ~ 23.56%
G 106 of 433 ~ 24.48%
B 225 of 433 ~ 51.96%
#666AE1 color CMYK value is (55,53,0,12).
CMYK: (55,53,0,12) C55M53Y0K12 (55%,53%,0%,12%) (0.55/0.53/0.00/0.12)
66 | 6A | E1 | |
---|---|---|---|
RGB | 102 | 106 | 225 |
HSL | 238° | 67.21% | 64.12% |
HSB/HSV | 238° | 54.67% | 88.24% |
CMYK | 54.67% | 52.89% | 0.00% |
11.76% |
HEX | 66 | 6A | E1 |
Decimal | 102 | 106 | 225 |
Binary | 1100110 | 1101010 | 11100001 |
Octal | 146 | 152 | 341 |
Examples of css and html codes for elements with #666AE1 color. Also use rgb(102,106,225) instead hex code.
.myTextColor { color: #666AE1; }
<p style="color:#666AE1">This sample text font color is #666AE1.</p>
This text font color is #666AE1.
.myBgColor { background-color: #666AE1; }
<div style="background-color:#666AE1">Inner text</div>
This div background color is #666AE1.
.myBorderColor { border: 1px solid #666AE1; }
<div style="border:3px solid #666AE1">Div</div>
This div border color is #666AE1.
.myOpacity80 { color: #666AE1; opacity: 0.8; }
<p style="color:#666AE1;opacity:0.8;">80%</p>
Text with #666AE1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #666AE1;}
<p style="text-shadow: 3px 3px 1px #666AE1">Text here.</p>
This text has shadow with #666AE1 color.
.textShadow {text-shadow: 3px 3px 1px #666AE1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #666AE1, 5px 5px 20px red">Text here.</p>
This text has shadow with #666AE1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#666AE1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#666AE1, Direction=45, Strength=4)">Text</p>
This text has shadow with #666AE1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #666AE1; -webkit-box-shadow: 1px 1px 3px 2px #666AE1; box-shadow: 1px 1px 3px 2px #666AE1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #666AE1; -webkit-box-shadow: 1px 1px 3px 2px #666AE1; box-shadow:1px 1px 3px 2px #666AE1;">
Div content here</div>
This text has color #666AE1 on black background.
This text has color #666AE1 on white background.
This text has black color on #666AE1 background.
This text has white color on #666AE1 background.