COLOR #051F70

HEX: #051F70
RGB: (5,31,112)

Color info

#051F70 contains mainly blue color. Web safe color of #051F70 is #003366 (or #036).

RGB color model

#051F70 color RGB value is (5,31,112).

  • red value is 5;
  • green value is 31;
  • blue value is 112.
RGB:
(5,31,112)
(2%,12%,44%)

RGB channels and saturation

R 5 of 255 = 2%
G 31 of 255 = 12%
B 112 of 255 = 44%

5
31
112

R + G + B ~ 19%. #051F70 is dark color.

Portions of RGB colors in percentages

R + G + B =
5 + 31 + 112 = 148 (100%)
R 5 of 148 ~ 3.38%
G 31 of 148 ~ 20.95%
B 112 of 148 ~ 75.68%

%20.95
%75.68

CMYK color model

#051F70 color CMYK value is (96,72,0,56).

  • cyan value is 95.54%
  • magenta value is 72.32%
  • yellow value is 0.00%
  • key color value is 56.08%
CMYK:
(96,72,0,56)
C96M72Y0K56 
(96%,72%,0%,56%)
(0.96/0.72/0.00/0.56)	

CMYK percentages

%95.54
%72.32
%0
%56.08

Codes

Color #051F70 in popluar color models

051F70
RGB531112
HSL225°91.45%22.94%
HSB/HSV225°95.54%43.92%
CMYK95.54%72.32%0.00%
56.08%

Color #051F70 in popluar number systems.

HEX051F70
Decimal531112
Binary101111111110000
Octal537160

Shades and tints

Shades of #051F70

#051F70
(5,31,112)
#051D66
(5,29,102)
#051B5C
(5,27,92)
#051952
(5,25,82)
#051748
(5,23,72)
#05153E
(5,21,62)
#051334
(5,19,52)
#05112A
(5,17,42)
#050F20
(5,15,32)
#050D16
(5,13,22)
#050B0C
(5,11,12)
#000000
(0,0,0)

Tints of #051F70

#051F70
(5,31,112)
#1B337D
(27,51,125)
#31478A
(49,71,138)
#475B97
(71,91,151)
#5D6FA4
(93,111,164)
#7383B1
(115,131,177)
#8997BE
(137,151,190)
#9FABCB
(159,171,203)
#B5BFD8
(181,191,216)
#CBD3E5
(203,211,229)
#E1E7F2
(225,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #051F70 color. Also use rgb(5,31,112) instead hex code.

Text Font Color

.myTextColor { color: #051F70; }

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

This text font color is #051F70.


Background Color

.myBgColor { background-color: #051F70; }

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

This div background color is #051F70.


Border color

.myBorderColor { border: 1px solid #051F70; }

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

This div border color is #051F70.


Opacity

.myOpacity80 { color: #051F70; opacity: 0.8; }

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

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

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

This text has shadow with #051F70 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #051F70 on black background.


Color preview on white background

This text has color #051F70 on white background.



Black color preview on #051F70 background

This text has black color on #051F70 background.


White color preview on #051F70 background

This text has white color on #051F70 background.