COLOR #040124

HEX: #040124
RGB: (4,1,36)

Color info

#040124 contains red, green and blue colors in about the same proportion. Web safe color of #040124 is #000033 (or #003).

RGB color model

#040124 color RGB value is (4,1,36).

  • red value is 4;
  • green value is 1;
  • blue value is 36.
RGB:
(4,1,36)
(2%,0%,14%)

RGB channels and saturation

R 4 of 255 = 2%
G 1 of 255 = 0%
B 36 of 255 = 14%

4
1
36

R + G + B ~ 5%. #040124 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 1 + 36 = 41 (100%)
R 4 of 41 ~ 9.76%
G 1 of 41 ~ 2.44%
B 36 of 41 ~ 87.8%

%9.76
%87.8

CMYK color model

#040124 color CMYK value is (89,97,0,86).

  • cyan value is 88.89%
  • magenta value is 97.22%
  • yellow value is 0.00%
  • key color value is 85.88%
CMYK:
(89,97,0,86)
C89M97Y0K86 
(89%,97%,0%,86%)
(0.89/0.97/0.00/0.86)	

CMYK percentages

%88.89
%97.22
%0
%85.88

Codes

Color #040124 in popluar color models

040124
RGB4136
HSL245°94.59%7.25%
HSB/HSV245°97.22%14.12%
CMYK88.89%97.22%0.00%
85.88%

Color #040124 in popluar number systems.

HEX040124
Decimal4136
Binary1001100100
Octal4144

Shades and tints

Shades of #040124

#040124
(4,1,36)
#040121
(4,1,33)
#04011E
(4,1,30)
#04011B
(4,1,27)
#040118
(4,1,24)
#040115
(4,1,21)
#040112
(4,1,18)
#04010F
(4,1,15)
#04010C
(4,1,12)
#040109
(4,1,9)
#040106
(4,1,6)
#000000
(0,0,0)

Tints of #040124

#040124
(4,1,36)
#1A1837
(26,24,55)
#302F4A
(48,47,74)
#46465D
(70,70,93)
#5C5D70
(92,93,112)
#727483
(114,116,131)
#888B96
(136,139,150)
#9EA2A9
(158,162,169)
#B4B9BC
(180,185,188)
#CAD0CF
(202,208,207)
#E0E7E2
(224,231,226)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040124 color. Also use rgb(4,1,36) instead hex code.

Text Font Color

.myTextColor { color: #040124; }

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

This text font color is #040124.


Background Color

.myBgColor { background-color: #040124; }

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

This div background color is #040124.


Border color

.myBorderColor { border: 1px solid #040124; }

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

This div border color is #040124.


Opacity

.myOpacity80 { color: #040124; opacity: 0.8; }

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

Text with #040124 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 #040124;}

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

This text has shadow with #040124 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040124 on black background.


Color preview on white background

This text has color #040124 on white background.



Black color preview on #040124 background

This text has black color on #040124 background.


White color preview on #040124 background

This text has white color on #040124 background.