COLOR #1F314F

HEX: #1F314F
RGB: (31,49,79)

Color info

#1F314F contains red, green and blue colors in about the same proportion. Web safe color of #1F314F is #333366 (or #336).

RGB color model

#1F314F color RGB value is (31,49,79).

  • red value is 31;
  • green value is 49;
  • blue value is 79.
RGB:
(31,49,79)
(12%,19%,31%)

RGB channels and saturation

R 31 of 255 = 12%
G 49 of 255 = 19%
B 79 of 255 = 31%

31
49
79

R + G + B ~ 21%. #1F314F is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 49 + 79 = 159 (100%)
R 31 of 159 ~ 19.5%
G 49 of 159 ~ 30.82%
B 79 of 159 ~ 49.69%

%19.5
%30.82
%49.69

CMYK color model

#1F314F color CMYK value is (61,38,0,69).

  • cyan value is 60.76%
  • magenta value is 37.97%
  • yellow value is 0.00%
  • key color value is 69.02%
CMYK:
(61,38,0,69)
C61M38Y0K69 
(61%,38%,0%,69%)
(0.61/0.38/0.00/0.69)	

CMYK percentages

%60.76
%37.97
%0
%69.02

Codes

Color #1F314F in popluar color models

1F314F
RGB314979
HSL218°43.64%21.57%
HSB/HSV218°60.76%30.98%
CMYK60.76%37.97%0.00%
69.02%

Color #1F314F in popluar number systems.

HEX1F314F
Decimal314979
Binary111111100011001111
Octal3761117

Shades and tints

Shades of #1F314F

#1F314F
(31,49,79)
#1D2D48
(29,45,72)
#1B2941
(27,41,65)
#19253A
(25,37,58)
#172133
(23,33,51)
#151D2C
(21,29,44)
#131925
(19,25,37)
#11151E
(17,21,30)
#0F1117
(15,17,23)
#0D0D10
(13,13,16)
#0B0909
(11,9,9)
#000000
(0,0,0)

Tints of #1F314F

#1F314F
(31,49,79)
#33435F
(51,67,95)
#47556F
(71,85,111)
#5B677F
(91,103,127)
#6F798F
(111,121,143)
#838B9F
(131,139,159)
#979DAF
(151,157,175)
#ABAFBF
(171,175,191)
#BFC1CF
(191,193,207)
#D3D3DF
(211,211,223)
#E7E5EF
(231,229,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F314F color. Also use rgb(31,49,79) instead hex code.

Text Font Color

.myTextColor { color: #1F314F; }

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

This text font color is #1F314F.


Background Color

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

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

This div background color is #1F314F.


Border color

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

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

This div border color is #1F314F.


Opacity

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

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

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

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

This text has shadow with #1F314F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F314F on black background.


Color preview on white background

This text has color #1F314F on white background.



Black color preview on #1F314F background

This text has black color on #1F314F background.


White color preview on #1F314F background

This text has white color on #1F314F background.