COLOR #042331

HEX: #042331 RGB: (4,35,49)

Color info

#042331 contains red, green and blue colors in about the same proportion. Web safe color of #042331 is #003333 (or #033).

RGB color model

#042331 color RGB value is (4,35,49).

RGB: (4,35,49) (2%, 14%, 19%)

RGB channels and saturation

R 4 of 255 = 2%
G 35 of 255 = 14%
B 49 of 255 = 19%

4
35
49

R + G + B ~ 12%. #042331 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 35 + 49 = 88 (100%)
R 4 of 88 ~ 4.55%
G 35 of 88 ~ 39.77%
B 49 of 88 ~ 55.68'%

%39.77
%55.68

CMYK color model

#042331 color CMYK value is (92,29,0,81).

  • cyan value is 91.84%
  • magenta value is 28.57%
  • yellow value is 0.00%
  • key color value is 80.78%

CMYK: (92,29,0,81)
C92M29Y0K81 (92%, 29%, 0%, 81%)
(0.92 / 0.29 / 0.00 / 0.81)

CMYK percentages

%91.84
%28.57
%0
%80.78

Codes

Color #042331 in popluar color models

04 23 31
RGB 4 35 49
HSL 199° 84.91% 10.39%
HSB/HSV 199° 91.84% 19.22%
CMYK 91.84% 28.57% 0.00%
80.78%

Color #042331 in popluar number systems.

HEX 04 23 31
Decimal 4 35 49
Binary 100 100011 110001
Octal 4 43 61

Shades and tints

Shades of #042331

#042331
(4,35,49)
#04202D
(4,32,45)
#041D29
(4,29,41)
#041A25
(4,26,37)
#041721
(4,23,33)
#04141D
(4,20,29)
#041119
(4,17,25)
#040E15
(4,14,21)
#040B11
(4,11,17)
#04080D
(4,8,13)
#040509
(4,5,9)
#000000
(0,0,0)

Tints of #042331

#042331
(4,35,49)
#1A3743
(26,55,67)
#304B55
(48,75,85)
#465F67
(70,95,103)
#5C7379
(92,115,121)
#72878B
(114,135,139)
#889B9D
(136,155,157)
#9EAFAF
(158,175,175)
#B4C3C1
(180,195,193)
#CAD7D3
(202,215,211)
#E0EBE5
(224,235,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042331 color. Also use rgb(4,35,49) instead hex code.

Text Font Color

.myTextColor { color: #042331; }

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

This text font color is #042331.

Background Color

.myBgColor { background-color: #042331; }

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

This div background color is #042331.

Border color

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

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

This div border color is #042331.

Opacity

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

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

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

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

This text has shadow with #042331 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042331.

Preview

Color preview on black background

This text has color #042331 on black background.


Color preview on white background

This text has color #042331 on white background.


Black color preview on #042331 background

This text has black color on #042331 background.


White color preview on #042331 background

This text has white color on #042331 background.


Related colors

Complementary color

Complementary color for #hex is #FBDCCE.


I love getcolorcode.com

Triadic colors

1 #310423 and #233104 with #042331 are triadic colors.

2 #312304 and #230431 with #042331 are triadic colors.