HEX: #406DEA
RGB: (64,109,234)
#406DEA contains mainly blue color. Web safe color of #406DEA is #3366FF (or #36F).
#406DEA color RGB value is (64,109,234).
RGB: (64,109,234) (25%,43%,92%)
R 64 of 255 = 25%
G 109 of 255 = 43%
B 234 of 255 = 92%
R + G + B ~ 53%. #406DEA is middle color (not dark and not light).
R + G + B =
64 + 109 + 234 = 407 (100%)
R 64 of 407 ~ 15.72%
G 109 of 407 ~ 26.78%
B 234 of 407 ~ 57.49%
#406DEA color CMYK value is (73,53,0,8).
CMYK: (73,53,0,8) C73M53Y0K8 (73%,53%,0%,8%) (0.73/0.53/0.00/0.08)
40 | 6D | EA | |
---|---|---|---|
RGB | 64 | 109 | 234 |
HSL | 224° | 80.19% | 58.43% |
HSB/HSV | 224° | 72.65% | 91.76% |
CMYK | 72.65% | 53.42% | 0.00% |
8.24% |
HEX | 40 | 6D | EA |
Decimal | 64 | 109 | 234 |
Binary | 1000000 | 1101101 | 11101010 |
Octal | 100 | 155 | 352 |
Examples of css and html codes for elements with #406DEA color. Also use rgb(64,109,234) instead hex code.
.myTextColor { color: #406DEA; }
<p style="color:#406DEA">This sample text font color is #406DEA.</p>
This text font color is #406DEA.
.myBgColor { background-color: #406DEA; }
<div style="background-color:#406DEA">Inner text</div>
This div background color is #406DEA.
.myBorderColor { border: 1px solid #406DEA; }
<div style="border:3px solid #406DEA">Div</div>
This div border color is #406DEA.
.myOpacity80 { color: #406DEA; opacity: 0.8; }
<p style="color:#406DEA;opacity:0.8;">80%</p>
Text with #406DEA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #406DEA;}
<p style="text-shadow: 3px 3px 1px #406DEA">Text here.</p>
This text has shadow with #406DEA color.
.textShadow {text-shadow: 3px 3px 1px #406DEA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #406DEA, 5px 5px 20px red">Text here.</p>
This text has shadow with #406DEA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#406DEA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#406DEA, Direction=45, Strength=4)">Text</p>
This text has shadow with #406DEA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #406DEA; -webkit-box-shadow: 1px 1px 3px 2px #406DEA; box-shadow: 1px 1px 3px 2px #406DEA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #406DEA; -webkit-box-shadow: 1px 1px 3px 2px #406DEA; box-shadow:1px 1px 3px 2px #406DEA;">
Div content here</div>
This text has color #406DEA on black background.
This text has color #406DEA on white background.
This text has black color on #406DEA background.
This text has white color on #406DEA background.