COLOR #042251

HEX: #042251 RGB: (4,34,81)

Color info

#042251 contains mainly green and blue colors. Web safe color of #042251 is #003366 (or #036).

RGB color model

#042251 color RGB value is (4,34,81).

RGB: (4,34,81) (2%, 13%, 32%)

RGB channels and saturation

R 4 of 255 = 2%
G 34 of 255 = 13%
B 81 of 255 = 32%

4
34
81

R + G + B ~ 16%. #042251 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 34 + 81 = 119 (100%)
R 4 of 119 ~ 3.36%
G 34 of 119 ~ 28.57%
B 81 of 119 ~ 68.07'%

%28.57
%68.07

CMYK color model

#042251 color CMYK value is (95,58,0,68).

  • cyan value is 95.06%
  • magenta value is 58.02%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK: (95,58,0,68) C95M58Y0K68 (95%,58%,0%,68%) (0.95/0.58/0.00/0.68) 

CMYK percentages

%95.06
%58.02
%0
%68.24

Codes

Color #042251 in popluar color models

04 22 51
RGB 4 34 81
HSL 217° 90.59% 16.67%
HSB/HSV 217° 95.06% 31.76%
CMYK 95.06% 58.02% 0.00%
68.24%

Color #042251 in popluar number systems.

HEX 04 22 51
Decimal 4 34 81
Binary 100 100010 1010001
Octal 4 42 121

Shades and tints

Shades of #042251

#042251
(4,34,81)
#041F4A
(4,31,74)
#041C43
(4,28,67)
#04193C
(4,25,60)
#041635
(4,22,53)
#04132E
(4,19,46)
#041027
(4,16,39)
#040D20
(4,13,32)
#040A19
(4,10,25)
#040712
(4,7,18)
#04040B
(4,4,11)
#000000
(0,0,0)

Tints of #042251

#042251
(4,34,81)
#1A3660
(26,54,96)
#304A6F
(48,74,111)
#465E7E
(70,94,126)
#5C728D
(92,114,141)
#72869C
(114,134,156)
#889AAB
(136,154,171)
#9EAEBA
(158,174,186)
#B4C2C9
(180,194,201)
#CAD6D8
(202,214,216)
#E0EAE7
(224,234,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042251 color. Also use rgb(4,34,81) instead hex code.

Text Font Color

.myTextColor { color: #042251; }

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

This text font color is #042251.

Background Color

.myBgColor { background-color: #042251; }

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

This div background color is #042251.

Border color

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

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

This div border color is #042251.

Opacity

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

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

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

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

This text has shadow with #042251 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042251.

Preview

Color preview on black background

This text has color #042251 on black background.


Color preview on white background

This text has color #042251 on white background.


Black color preview on #042251 background

This text has black color on #042251 background.


White color preview on #042251 background

This text has white color on #042251 background.


Related colors

Complementary color

Complementary color for #hex is #FBDDAE.


I love getcolorcode.com

Triadic colors

1 #510422 and #225104 with #042251 are triadic colors.

2 #512204 and #220451 with #042251 are triadic colors.