HEX: #666AEA
RGB: (102,106,234)
#666AEA contains mainly blue color. Web safe color of #666AEA is #6666FF (or #66F).
#666AEA color RGB value is (102,106,234).
RGB: (102,106,234) (40%,42%,92%)
R 102 of 255 = 40%
G 106 of 255 = 42%
B 234 of 255 = 92%
R + G + B ~ 58%. #666AEA is middle color (not dark and not light).
R + G + B =
102 + 106 + 234 = 442 (100%)
R 102 of 442 ~ 23.08%
G 106 of 442 ~ 23.98%
B 234 of 442 ~ 52.94%
#666AEA color CMYK value is (56,55,0,8).
CMYK: (56,55,0,8) C56M55Y0K8 (56%,55%,0%,8%) (0.56/0.55/0.00/0.08)
66 | 6A | EA | |
---|---|---|---|
RGB | 102 | 106 | 234 |
HSL | 238° | 75.86% | 65.88% |
HSB/HSV | 238° | 56.41% | 91.76% |
CMYK | 56.41% | 54.70% | 0.00% |
8.24% |
HEX | 66 | 6A | EA |
Decimal | 102 | 106 | 234 |
Binary | 1100110 | 1101010 | 11101010 |
Octal | 146 | 152 | 352 |
Examples of css and html codes for elements with #666AEA color. Also use rgb(102,106,234) instead hex code.
.myTextColor { color: #666AEA; }
<p style="color:#666AEA">This sample text font color is #666AEA.</p>
This text font color is #666AEA.
.myBgColor { background-color: #666AEA; }
<div style="background-color:#666AEA">Inner text</div>
This div background color is #666AEA.
.myBorderColor { border: 1px solid #666AEA; }
<div style="border:3px solid #666AEA">Div</div>
This div border color is #666AEA.
.myOpacity80 { color: #666AEA; opacity: 0.8; }
<p style="color:#666AEA;opacity:0.8;">80%</p>
Text with #666AEA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #666AEA;}
<p style="text-shadow: 3px 3px 1px #666AEA">Text here.</p>
This text has shadow with #666AEA color.
.textShadow {text-shadow: 3px 3px 1px #666AEA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #666AEA, 5px 5px 20px red">Text here.</p>
This text has shadow with #666AEA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#666AEA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#666AEA, Direction=45, Strength=4)">Text</p>
This text has shadow with #666AEA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #666AEA; -webkit-box-shadow: 1px 1px 3px 2px #666AEA; box-shadow: 1px 1px 3px 2px #666AEA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #666AEA; -webkit-box-shadow: 1px 1px 3px 2px #666AEA; box-shadow:1px 1px 3px 2px #666AEA;">
Div content here</div>
This text has color #666AEA on black background.
This text has color #666AEA on white background.
This text has black color on #666AEA background.
This text has white color on #666AEA background.