COLOR #1F3142

HEX: #1F3142
RGB: (31,49,66)

Color info

#1F3142 contains red, green and blue colors in about the same proportion. Web safe color of #1F3142 is #333333 (or #333).

RGB color model

#1F3142 color RGB value is (31,49,66).

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

RGB channels and saturation

R 31 of 255 = 12%
G 49 of 255 = 19%
B 66 of 255 = 26%

31
49
66

R + G + B ~ 19%. #1F3142 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 49 + 66 = 146 (100%)
R 31 of 146 ~ 21.23%
G 49 of 146 ~ 33.56%
B 66 of 146 ~ 45.21%

%21.23
%33.56
%45.21

CMYK color model

#1F3142 color CMYK value is (53,26,0,74).

  • cyan value is 53.03%
  • magenta value is 25.76%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(53,26,0,74)
C53M26Y0K74 
(53%,26%,0%,74%)
(0.53/0.26/0.00/0.74)	

CMYK percentages

%53.03
%25.76
%0
%74.12

Codes

Color #1F3142 in popluar color models

1F3142
RGB314966
HSL209°36.08%19.02%
HSB/HSV209°53.03%25.88%
CMYK53.03%25.76%0.00%
74.12%

Color #1F3142 in popluar number systems.

HEX1F3142
Decimal314966
Binary111111100011000010
Octal3761102

Shades and tints

Shades of #1F3142

#1F3142
(31,49,66)
#1D2D3C
(29,45,60)
#1B2936
(27,41,54)
#192530
(25,37,48)
#17212A
(23,33,42)
#151D24
(21,29,36)
#13191E
(19,25,30)
#111518
(17,21,24)
#0F1112
(15,17,18)
#0D0D0C
(13,13,12)
#0B0906
(11,9,6)
#000000
(0,0,0)

Tints of #1F3142

#1F3142
(31,49,66)
#334353
(51,67,83)
#475564
(71,85,100)
#5B6775
(91,103,117)
#6F7986
(111,121,134)
#838B97
(131,139,151)
#979DA8
(151,157,168)
#ABAFB9
(171,175,185)
#BFC1CA
(191,193,202)
#D3D3DB
(211,211,219)
#E7E5EC
(231,229,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F3142; }

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

This text font color is #1F3142.


Background Color

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

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

This div background color is #1F3142.


Border color

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

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

This div border color is #1F3142.


Opacity

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

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

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

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

This text has shadow with #1F3142 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F3142 on black background.


Color preview on white background

This text has color #1F3142 on white background.



Black color preview on #1F3142 background

This text has black color on #1F3142 background.


White color preview on #1F3142 background

This text has white color on #1F3142 background.