COLOR #04042A

HEX: #04042A RGB: (4,4,42)

Color info

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

RGB color model

#04042A color RGB value is (4,4,42).

RGB: (4,4,42) (2%, 2%, 16%)

RGB channels and saturation

R 4 of 255 = 2%
G 4 of 255 = 2%
B 42 of 255 = 16%

4
4
42

R + G + B ~ 7%. #04042A is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 4 + 42 = 50 (100%)
R 4 of 50 ~ 8%
G 4 of 50 ~ 8%
B 42 of 50 ~ 84'%

%84

CMYK color model

#04042A color CMYK value is (90,90,0,84).

  • cyan value is 90.48%
  • magenta value is 90.48%
  • yellow value is 0.00%
  • key color value is 83.53%

CMYK: (90,90,0,84)
C90M90Y0K84 (90%, 90%, 0%, 84%)
(0.90 / 0.90 / 0.00 / 0.84)

CMYK percentages

%90.48
%90.48
%0
%83.53

Codes

Color #04042A in popluar color models

04 04 2A
RGB 4 4 42
HSL 240° 82.61% 9.02%
HSB/HSV 240° 90.48% 16.47%
CMYK 90.48% 90.48% 0.00%
83.53%

Color #04042A in popluar number systems.

HEX 04 04 2A
Decimal 4 4 42
Binary 100 100 101010
Octal 4 4 52

Shades and tints

Shades of #04042A

#04042A
(4,4,42)
#040427
(4,4,39)
#040424
(4,4,36)
#040421
(4,4,33)
#04041E
(4,4,30)
#04041B
(4,4,27)
#040418
(4,4,24)
#040415
(4,4,21)
#040412
(4,4,18)
#04040F
(4,4,15)
#04040C
(4,4,12)
#000000
(0,0,0)

Tints of #04042A

#04042A
(4,4,42)
#1A1A3D
(26,26,61)
#303050
(48,48,80)
#464663
(70,70,99)
#5C5C76
(92,92,118)
#727289
(114,114,137)
#88889C
(136,136,156)
#9E9EAF
(158,158,175)
#B4B4C2
(180,180,194)
#CACAD5
(202,202,213)
#E0E0E8
(224,224,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04042A color. Also use rgb(4,4,42) instead hex code.

Text Font Color

.myTextColor { color: #04042A; }

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

This text font color is #04042A.

Background Color

.myBgColor { background-color: #04042A; }

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

This div background color is #04042A.

Border color

.myBorderColor { border: 1px solid #04042A; }

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

This div border color is #04042A.

Opacity

.myOpacity80 { color: #04042A; opacity: 0.8; }

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

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

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

This text has shadow with #04042A color.


.textShadow {text-shadow: 3px 3px 1px #04042A', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #04042A; -webkit-box-shadow: 1px 1px 3px 2px #04042A; box-shadow:1px 1px 3px 2px #04042A;">
Div content here
</div>

This div box has shadow with color #04042A.

Preview

Color preview on black background

This text has color #04042A on black background.


Color preview on white background

This text has color #04042A on white background.


Black color preview on #04042A background

This text has black color on #04042A background.


White color preview on #04042A background

This text has white color on #04042A background.


Related colors

Complementary color

Complementary color for #hex is #FBFBD5.


I love getcolorcode.com