COLOR #04122A

HEX: #04122A RGB: (4,18,42)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

4
18
42

R + G + B ~ 8%. #04122A is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 18 + 42 = 64 (100%)
R 4 of 64 ~ 6.25%
G 18 of 64 ~ 28.13%
B 42 of 64 ~ 65.63'%

%28.13
%65.63

CMYK color model

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

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

CMYK: (90,57,0,84)
C90M57Y0K84 (90%, 57%, 0%, 84%)
(0.90 / 0.57 / 0.00 / 0.84)

CMYK percentages

%90.48
%57.14
%0
%83.53

Codes

Color #04122A in popluar color models

04 12 2A
RGB 4 18 42
HSL 218° 82.61% 9.02%
HSB/HSV 218° 90.48% 16.47%
CMYK 90.48% 57.14% 0.00%
83.53%

Color #04122A in popluar number systems.

HEX 04 12 2A
Decimal 4 18 42
Binary 100 10010 101010
Octal 4 22 52

Shades and tints

Shades of #04122A

#04122A
(4,18,42)
#041127
(4,17,39)
#041024
(4,16,36)
#040F21
(4,15,33)
#040E1E
(4,14,30)
#040D1B
(4,13,27)
#040C18
(4,12,24)
#040B15
(4,11,21)
#040A12
(4,10,18)
#04090F
(4,9,15)
#04080C
(4,8,12)
#000000
(0,0,0)

Tints of #04122A

#04122A
(4,18,42)
#1A273D
(26,39,61)
#303C50
(48,60,80)
#465163
(70,81,99)
#5C6676
(92,102,118)
#727B89
(114,123,137)
#88909C
(136,144,156)
#9EA5AF
(158,165,175)
#B4BAC2
(180,186,194)
#CACFD5
(202,207,213)
#E0E4E8
(224,228,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04122A; }

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

This text font color is #04122A.

Background Color

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

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

This div background color is #04122A.

Border color

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

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

This div border color is #04122A.

Opacity

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

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

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

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

This text has shadow with #04122A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04122A.

Preview

Color preview on black background

This text has color #04122A on black background.


Color preview on white background

This text has color #04122A on white background.


Black color preview on #04122A background

This text has black color on #04122A background.


White color preview on #04122A background

This text has white color on #04122A background.


Related colors

Complementary color

Complementary color for #hex is #FBEDD5.


I love getcolorcode.com

Triadic colors

1 #2A0412 and #122A04 with #04122A are triadic colors.

2 #2A1204 and #12042A with #04122A are triadic colors.