COLOR #040FF4

HEX: #040FF4
RGB: (4,15,244)

Color info

#040FF4 contains mainly blue color. Web safe color of #040FF4 is #0000FF (or #00F).

RGB color model

#040FF4 color RGB value is (4,15,244).

  • red value is 4;
  • green value is 15;
  • blue value is 244.
RGB:
(4,15,244)
(2%,6%,96%)

RGB channels and saturation

R 4 of 255 = 2%
G 15 of 255 = 6%
B 244 of 255 = 96%

4
15
244

R + G + B ~ 35%. #040FF4 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 15 + 244 = 263 (100%)
R 4 of 263 ~ 1.52%
G 15 of 263 ~ 5.7%
B 244 of 263 ~ 92.78%

%92.78

CMYK color model

#040FF4 color CMYK value is (98,94,0,4).

  • cyan value is 98.36%
  • magenta value is 93.85%
  • yellow value is 0.00%
  • key color value is 4.31%
CMYK:
(98,94,0,4)
C98M94Y0K4 
(98%,94%,0%,4%)
(0.98/0.94/0.00/0.04)	

CMYK percentages

%98.36
%93.85
%0
%4.31

Codes

Color #040FF4 in popluar color models

040FF4
RGB415244
HSL237°96.77%48.63%
HSB/HSV237°98.36%95.69%
CMYK98.36%93.85%0.00%
4.31%

Color #040FF4 in popluar number systems.

HEX040FF4
Decimal415244
Binary100111111110100
Octal417364

Shades and tints

Shades of #040FF4

#040FF4
(4,15,244)
#040EDE
(4,14,222)
#040DC8
(4,13,200)
#040CB2
(4,12,178)
#040B9C
(4,11,156)
#040A86
(4,10,134)
#040970
(4,9,112)
#04085A
(4,8,90)
#040744
(4,7,68)
#04062E
(4,6,46)
#040518
(4,5,24)
#000000
(0,0,0)

Tints of #040FF4

#040FF4
(4,15,244)
#1A24F5
(26,36,245)
#3039F6
(48,57,246)
#464EF7
(70,78,247)
#5C63F8
(92,99,248)
#7278F9
(114,120,249)
#888DFA
(136,141,250)
#9EA2FB
(158,162,251)
#B4B7FC
(180,183,252)
#CACCFD
(202,204,253)
#E0E1FE
(224,225,254)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040FF4 color. Also use rgb(4,15,244) instead hex code.

Text Font Color

.myTextColor { color: #040FF4; }

<p style="color:#040FF4">This sample text font color is #040FF4.</p>

This text font color is #040FF4.


Background Color

.myBgColor { background-color: #040FF4; }

<div style="background-color:#040FF4">Inner text</div>

This div background color is #040FF4.


Border color

.myBorderColor { border: 1px solid #040FF4; }

<div style="border:3px solid #040FF4">Div</div>

This div border color is #040FF4.


Opacity

.myOpacity80 { color: #040FF4; opacity: 0.8; }

<p style="color:#040FF4;opacity:0.8;">80%</p>

Text with #040FF4 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #040FF4;}

<p style="text-shadow: 3px 3px 1px #040FF4">Text here.</p>

This text has shadow with #040FF4 color.

.textShadow {text-shadow: 3px 3px 1px #040FF4, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #040FF4, 5px 5px 20px red">Text here.</p>

This text has shadow with #040FF4 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#040FF4, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#040FF4, Direction=45, Strength=4)">Text</p>

This text has shadow with #040FF4 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #040FF4;
  -webkit-box-shadow:	1px 1px 3px 2px #040FF4;
  box-shadow:		1px 1px 3px 2px #040FF4;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #040FF4;
-webkit-box-shadow: 1px 1px 3px 2px #040FF4;
box-shadow:1px 1px 3px 2px #040FF4;">
Div content here</div>
This div box has shadow with color #040FF4.

Preview

Color preview on black background

This text has color #040FF4 on black background.


Color preview on white background

This text has color #040FF4 on white background.



Black color preview on #040FF4 background

This text has black color on #040FF4 background.


White color preview on #040FF4 background

This text has white color on #040FF4 background.