HEX: #4004EF
RGB: (64,4,239)
#4004EF contains mainly blue color. Web safe color of #4004EF is #3300FF (or #30F).
#4004EF color RGB value is (64,4,239).
RGB: (64,4,239) (25%,2%,94%)
R 64 of 255 = 25%
G 4 of 255 = 2%
B 239 of 255 = 94%
R + G + B ~ 40%. #4004EF is middle color (not dark and not light).
R + G + B =
64 + 4 + 239 = 307 (100%)
R 64 of 307 ~ 20.85%
G 4 of 307 ~ 1.3%
B 239 of 307 ~ 77.85%
#4004EF color CMYK value is (73,98,0,6).
CMYK: (73,98,0,6) C73M98Y0K6 (73%,98%,0%,6%) (0.73/0.98/0.00/0.06)
40 | 04 | EF | |
---|---|---|---|
RGB | 64 | 4 | 239 |
HSL | 255° | 96.71% | 47.65% |
HSB/HSV | 255° | 98.33% | 93.73% |
CMYK | 73.22% | 98.33% | 0.00% |
6.27% |
HEX | 40 | 04 | EF |
Decimal | 64 | 4 | 239 |
Binary | 1000000 | 100 | 11101111 |
Octal | 100 | 4 | 357 |
Examples of css and html codes for elements with #4004EF color. Also use rgb(64,4,239) instead hex code.
.myTextColor { color: #4004EF; }
<p style="color:#4004EF">This sample text font color is #4004EF.</p>
This text font color is #4004EF.
.myBgColor { background-color: #4004EF; }
<div style="background-color:#4004EF">Inner text</div>
This div background color is #4004EF.
.myBorderColor { border: 1px solid #4004EF; }
<div style="border:3px solid #4004EF">Div</div>
This div border color is #4004EF.
.myOpacity80 { color: #4004EF; opacity: 0.8; }
<p style="color:#4004EF;opacity:0.8;">80%</p>
Text with #4004EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4004EF;}
<p style="text-shadow: 3px 3px 1px #4004EF">Text here.</p>
This text has shadow with #4004EF color.
.textShadow {text-shadow: 3px 3px 1px #4004EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4004EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #4004EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4004EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4004EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #4004EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4004EF; -webkit-box-shadow: 1px 1px 3px 2px #4004EF; box-shadow: 1px 1px 3px 2px #4004EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4004EF; -webkit-box-shadow: 1px 1px 3px 2px #4004EF; box-shadow:1px 1px 3px 2px #4004EF;">
Div content here</div>
This text has color #4004EF on black background.
This text has color #4004EF on white background.
This text has black color on #4004EF background.
This text has white color on #4004EF background.