COLOR #1F1B31

HEX: #1F1B31
RGB: (31,27,49)

Color info

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

RGB color model

#1F1B31 color RGB value is (31,27,49).

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

RGB channels and saturation

R 31 of 255 = 12%
G 27 of 255 = 11%
B 49 of 255 = 19%

31
27
49

R + G + B ~ 14%. #1F1B31 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 27 + 49 = 107 (100%)
R 31 of 107 ~ 28.97%
G 27 of 107 ~ 25.23%
B 49 of 107 ~ 45.79%

%28.97
%25.23
%45.79

CMYK color model

#1F1B31 color CMYK value is (37,45,0,81).

  • cyan value is 36.73%
  • magenta value is 44.90%
  • yellow value is 0.00%
  • key color value is 80.78%
CMYK:
(37,45,0,81)
C37M45Y0K81 
(37%,45%,0%,81%)
(0.37/0.45/0.00/0.81)	

CMYK percentages

%36.73
%44.9
%0
%80.78

Codes

Color #1F1B31 in popluar color models

1F1B31
RGB312749
HSL251°28.95%14.90%
HSB/HSV251°44.90%19.22%
CMYK36.73%44.90%0.00%
80.78%

Color #1F1B31 in popluar number systems.

HEX1F1B31
Decimal312749
Binary1111111011110001
Octal373361

Shades and tints

Shades of #1F1B31

#1F1B31
(31,27,49)
#1D192D
(29,25,45)
#1B1729
(27,23,41)
#191525
(25,21,37)
#171321
(23,19,33)
#15111D
(21,17,29)
#130F19
(19,15,25)
#110D15
(17,13,21)
#0F0B11
(15,11,17)
#0D090D
(13,9,13)
#0B0709
(11,7,9)
#000000
(0,0,0)

Tints of #1F1B31

#1F1B31
(31,27,49)
#332F43
(51,47,67)
#474355
(71,67,85)
#5B5767
(91,87,103)
#6F6B79
(111,107,121)
#837F8B
(131,127,139)
#97939D
(151,147,157)
#ABA7AF
(171,167,175)
#BFBBC1
(191,187,193)
#D3CFD3
(211,207,211)
#E7E3E5
(231,227,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F1B31; }

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

This text font color is #1F1B31.


Background Color

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

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

This div background color is #1F1B31.


Border color

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

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

This div border color is #1F1B31.


Opacity

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

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

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

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

This text has shadow with #1F1B31 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F1B31 on black background.


Color preview on white background

This text has color #1F1B31 on white background.



Black color preview on #1F1B31 background

This text has black color on #1F1B31 background.


White color preview on #1F1B31 background

This text has white color on #1F1B31 background.