COLOR #1F1F48

HEX: #1F1F48
RGB: (31,31,72)

Color info

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

RGB color model

#1F1F48 color RGB value is (31,31,72).

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

RGB channels and saturation

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

31
31
72

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

Portions of RGB colors in percentages

R + G + B =
31 + 31 + 72 = 134 (100%)
R 31 of 134 ~ 23.13%
G 31 of 134 ~ 23.13%
B 72 of 134 ~ 53.73%

%23.13
%23.13
%53.73

CMYK color model

#1F1F48 color CMYK value is (57,57,0,72).

  • cyan value is 56.94%
  • magenta value is 56.94%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK:
(57,57,0,72)
C57M57Y0K72 
(57%,57%,0%,72%)
(0.57/0.57/0.00/0.72)	

CMYK percentages

%56.94
%56.94
%0
%71.76

Codes

Color #1F1F48 in popluar color models

1F1F48
RGB313172
HSL240°39.81%20.20%
HSB/HSV240°56.94%28.24%
CMYK56.94%56.94%0.00%
71.76%

Color #1F1F48 in popluar number systems.

HEX1F1F48
Decimal313172
Binary11111111111001000
Octal3737110

Shades and tints

Shades of #1F1F48

#1F1F48
(31,31,72)
#1D1D42
(29,29,66)
#1B1B3C
(27,27,60)
#191936
(25,25,54)
#171730
(23,23,48)
#15152A
(21,21,42)
#131324
(19,19,36)
#11111E
(17,17,30)
#0F0F18
(15,15,24)
#0D0D12
(13,13,18)
#0B0B0C
(11,11,12)
#000000
(0,0,0)

Tints of #1F1F48

#1F1F48
(31,31,72)
#333358
(51,51,88)
#474768
(71,71,104)
#5B5B78
(91,91,120)
#6F6F88
(111,111,136)
#838398
(131,131,152)
#9797A8
(151,151,168)
#ABABB8
(171,171,184)
#BFBFC8
(191,191,200)
#D3D3D8
(211,211,216)
#E7E7E8
(231,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F1F48; }

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

This text font color is #1F1F48.


Background Color

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

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

This div background color is #1F1F48.


Border color

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

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

This div border color is #1F1F48.


Opacity

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

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

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

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

This text has shadow with #1F1F48 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F1F48 on black background.


Color preview on white background

This text has color #1F1F48 on white background.



Black color preview on #1F1F48 background

This text has black color on #1F1F48 background.


White color preview on #1F1F48 background

This text has white color on #1F1F48 background.