COLOR #1F1F47

HEX: #1F1F47
RGB: (31,31,71)

Color info

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

RGB color model

#1F1F47 color RGB value is (31,31,71).

  • red value is 31;
  • green value is 31;
  • blue value is 71.
RGB:
(31,31,71)
(12%,12%,28%)

RGB channels and saturation

R 31 of 255 = 12%
G 31 of 255 = 12%
B 71 of 255 = 28%

31
31
71

R + G + B ~ 17%. #1F1F47 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 31 + 71 = 133 (100%)
R 31 of 133 ~ 23.31%
G 31 of 133 ~ 23.31%
B 71 of 133 ~ 53.38%

%23.31
%23.31
%53.38

CMYK color model

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

  • cyan value is 56.34%
  • magenta value is 56.34%
  • yellow value is 0.00%
  • key color value is 72.16%
CMYK:
(56,56,0,72)
C56M56Y0K72 
(56%,56%,0%,72%)
(0.56/0.56/0.00/0.72)	

CMYK percentages

%56.34
%56.34
%0
%72.16

Codes

Color #1F1F47 in popluar color models

1F1F47
RGB313171
HSL240°39.22%20.00%
HSB/HSV240°56.34%27.84%
CMYK56.34%56.34%0.00%
72.16%

Color #1F1F47 in popluar number systems.

HEX1F1F47
Decimal313171
Binary11111111111000111
Octal3737107

Shades and tints

Shades of #1F1F47

#1F1F47
(31,31,71)
#1D1D41
(29,29,65)
#1B1B3B
(27,27,59)
#191935
(25,25,53)
#17172F
(23,23,47)
#151529
(21,21,41)
#131323
(19,19,35)
#11111D
(17,17,29)
#0F0F17
(15,15,23)
#0D0D11
(13,13,17)
#0B0B0B
(11,11,11)
#000000
(0,0,0)

Tints of #1F1F47

#1F1F47
(31,31,71)
#333357
(51,51,87)
#474767
(71,71,103)
#5B5B77
(91,91,119)
#6F6F87
(111,111,135)
#838397
(131,131,151)
#9797A7
(151,151,167)
#ABABB7
(171,171,183)
#BFBFC7
(191,191,199)
#D3D3D7
(211,211,215)
#E7E7E7
(231,231,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F1F47; }

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

This text font color is #1F1F47.


Background Color

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

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

This div background color is #1F1F47.


Border color

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

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

This div border color is #1F1F47.


Opacity

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

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

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

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

This text has shadow with #1F1F47 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F1F47 on black background.


Color preview on white background

This text has color #1F1F47 on white background.



Black color preview on #1F1F47 background

This text has black color on #1F1F47 background.


White color preview on #1F1F47 background

This text has white color on #1F1F47 background.