COLOR #1F4170

HEX: #1F4170
RGB: (31,65,112)

Color info

#1F4170 contains mainly green and blue colors. Web safe color of #1F4170 is #333366 (or #336).

RGB color model

#1F4170 color RGB value is (31,65,112).

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

RGB channels and saturation

R 31 of 255 = 12%
G 65 of 255 = 25%
B 112 of 255 = 44%

31
65
112

R + G + B ~ 27%. #1F4170 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 65 + 112 = 208 (100%)
R 31 of 208 ~ 14.9%
G 65 of 208 ~ 31.25%
B 112 of 208 ~ 53.85%

%14.9
%31.25
%53.85

CMYK color model

#1F4170 color CMYK value is (72,42,0,56).

  • cyan value is 72.32%
  • magenta value is 41.96%
  • yellow value is 0.00%
  • key color value is 56.08%
CMYK:
(72,42,0,56)
C72M42Y0K56 
(72%,42%,0%,56%)
(0.72/0.42/0.00/0.56)	

CMYK percentages

%72.32
%41.96
%0
%56.08

Codes

Color #1F4170 in popluar color models

1F4170
RGB3165112
HSL215°56.64%28.04%
HSB/HSV215°72.32%43.92%
CMYK72.32%41.96%0.00%
56.08%

Color #1F4170 in popluar number systems.

HEX1F4170
Decimal3165112
Binary1111110000011110000
Octal37101160

Shades and tints

Shades of #1F4170

#1F4170
(31,65,112)
#1D3C66
(29,60,102)
#1B375C
(27,55,92)
#193252
(25,50,82)
#172D48
(23,45,72)
#15283E
(21,40,62)
#132334
(19,35,52)
#111E2A
(17,30,42)
#0F1920
(15,25,32)
#0D1416
(13,20,22)
#0B0F0C
(11,15,12)
#000000
(0,0,0)

Tints of #1F4170

#1F4170
(31,65,112)
#33527D
(51,82,125)
#47638A
(71,99,138)
#5B7497
(91,116,151)
#6F85A4
(111,133,164)
#8396B1
(131,150,177)
#97A7BE
(151,167,190)
#ABB8CB
(171,184,203)
#BFC9D8
(191,201,216)
#D3DAE5
(211,218,229)
#E7EBF2
(231,235,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F4170 color. Also use rgb(31,65,112) instead hex code.

Text Font Color

.myTextColor { color: #1F4170; }

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

This text font color is #1F4170.


Background Color

.myBgColor { background-color: #1F4170; }

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

This div background color is #1F4170.


Border color

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

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

This div border color is #1F4170.


Opacity

.myOpacity80 { color: #1F4170; opacity: 0.8; }

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

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

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

This text has shadow with #1F4170 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F4170 on black background.


Color preview on white background

This text has color #1F4170 on white background.



Black color preview on #1F4170 background

This text has black color on #1F4170 background.


White color preview on #1F4170 background

This text has white color on #1F4170 background.