COLOR #051342

HEX: #051342
RGB: (5,19,66)

Color info

#051342 contains mainly green and blue colors. Web safe color of #051342 is #000033 (or #003).

RGB color model

#051342 color RGB value is (5,19,66).

  • red value is 5;
  • green value is 19;
  • blue value is 66.
RGB:
(5,19,66)
(2%,7%,26%)

RGB channels and saturation

R 5 of 255 = 2%
G 19 of 255 = 7%
B 66 of 255 = 26%

5
19
66

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

Portions of RGB colors in percentages

R + G + B =
5 + 19 + 66 = 90 (100%)
R 5 of 90 ~ 5.56%
G 19 of 90 ~ 21.11%
B 66 of 90 ~ 73.33%

%21.11
%73.33

CMYK color model

#051342 color CMYK value is (92,71,0,74).

  • cyan value is 92.42%
  • magenta value is 71.21%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(92,71,0,74)
C92M71Y0K74 
(92%,71%,0%,74%)
(0.92/0.71/0.00/0.74)	

CMYK percentages

%92.42
%71.21
%0
%74.12

Codes

Color #051342 in popluar color models

051342
RGB51966
HSL226°85.92%13.92%
HSB/HSV226°92.42%25.88%
CMYK92.42%71.21%0.00%
74.12%

Color #051342 in popluar number systems.

HEX051342
Decimal51966
Binary101100111000010
Octal523102

Shades and tints

Shades of #051342

#051342
(5,19,66)
#05123C
(5,18,60)
#051136
(5,17,54)
#051030
(5,16,48)
#050F2A
(5,15,42)
#050E24
(5,14,36)
#050D1E
(5,13,30)
#050C18
(5,12,24)
#050B12
(5,11,18)
#050A0C
(5,10,12)
#050906
(5,9,6)
#000000
(0,0,0)

Tints of #051342

#051342
(5,19,66)
#1B2853
(27,40,83)
#313D64
(49,61,100)
#475275
(71,82,117)
#5D6786
(93,103,134)
#737C97
(115,124,151)
#8991A8
(137,145,168)
#9FA6B9
(159,166,185)
#B5BBCA
(181,187,202)
#CBD0DB
(203,208,219)
#E1E5EC
(225,229,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #051342 color. Also use rgb(5,19,66) instead hex code.

Text Font Color

.myTextColor { color: #051342; }

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

This text font color is #051342.


Background Color

.myBgColor { background-color: #051342; }

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

This div background color is #051342.


Border color

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

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

This div border color is #051342.


Opacity

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

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

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

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

This text has shadow with #051342 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #051342 on black background.


Color preview on white background

This text has color #051342 on white background.



Black color preview on #051342 background

This text has black color on #051342 background.


White color preview on #051342 background

This text has white color on #051342 background.