COLOR #1F1B1F

HEX: #1F1B1F
RGB: (31,27,31)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

31
27
31

R + G + B ~ 12%. #1F1B1F is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 27 + 31 = 89 (100%)
R 31 of 89 ~ 34.83%
G 27 of 89 ~ 30.34%
B 31 of 89 ~ 34.83%

%34.83
%30.34
%34.83

CMYK color model

#1F1B1F color CMYK value is (0,13,0,88).

  • cyan value is 0.00%
  • magenta value is 12.90%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(0,13,0,88)
C0M13Y0K88 
(0%,13%,0%,88%)
(0.00/0.13/0.00/0.88)	

CMYK percentages

%0
%12.9
%0
%87.84

Codes

Color #1F1B1F in popluar color models

1F1B1F
RGB312731
HSL300°6.90%11.37%
HSB/HSV300°12.90%12.16%
CMYK0.00%12.90%0.00%
87.84%

Color #1F1B1F in popluar number systems.

HEX1F1B1F
Decimal312731
Binary111111101111111
Octal373337

Shades and tints

Shades of #1F1B1F

#1F1B1F
(31,27,31)
#1D191D
(29,25,29)
#1B171B
(27,23,27)
#191519
(25,21,25)
#171317
(23,19,23)
#151115
(21,17,21)
#130F13
(19,15,19)
#110D11
(17,13,17)
#0F0B0F
(15,11,15)
#0D090D
(13,9,13)
#0B070B
(11,7,11)
#000000
(0,0,0)

Tints of #1F1B1F

#1F1B1F
(31,27,31)
#332F33
(51,47,51)
#474347
(71,67,71)
#5B575B
(91,87,91)
#6F6B6F
(111,107,111)
#837F83
(131,127,131)
#979397
(151,147,151)
#ABA7AB
(171,167,171)
#BFBBBF
(191,187,191)
#D3CFD3
(211,207,211)
#E7E3E7
(231,227,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F1B1F; }

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

This text font color is #1F1B1F.


Background Color

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

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

This div background color is #1F1B1F.


Border color

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

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

This div border color is #1F1B1F.


Opacity

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

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

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

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

This text has shadow with #1F1B1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F1B1F on black background.


Color preview on white background

This text has color #1F1B1F on white background.



Black color preview on #1F1B1F background

This text has black color on #1F1B1F background.


White color preview on #1F1B1F background

This text has white color on #1F1B1F background.