COLOR #1F171E

HEX: #1F171E
RGB: (31,23,30)

Color info

#1F171E contains red, green and blue colors in about the same proportion. Web safe color of #1F171E is #330033 (or #303).

RGB color model

#1F171E color RGB value is (31,23,30).

  • red value is 31;
  • green value is 23;
  • blue value is 30.
RGB:
(31,23,30)
(12%,9%,12%)

RGB channels and saturation

R 31 of 255 = 12%
G 23 of 255 = 9%
B 30 of 255 = 12%

31
23
30

R + G + B ~ 11%. #1F171E is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 23 + 30 = 84 (100%)
R 31 of 84 ~ 36.9%
G 23 of 84 ~ 27.38%
B 30 of 84 ~ 35.71%

%36.9
%27.38
%35.71

CMYK color model

#1F171E color CMYK value is (0,26,3,88).

  • cyan value is 0.00%
  • magenta value is 25.81%
  • yellow value is 3.23%
  • key color value is 87.84%
CMYK:
(0,26,3,88)
C0M26Y3K88 
(0%,26%,3%,88%)
(0.00/0.26/0.03/0.88)	

CMYK percentages

%0
%25.81
%3.23
%87.84

Codes

Color #1F171E in popluar color models

1F171E
RGB312330
HSL308°14.81%10.59%
HSB/HSV308°25.81%12.16%
CMYK0.00%25.81%3.23%
87.84%

Color #1F171E in popluar number systems.

HEX1F171E
Decimal312330
Binary111111011111110
Octal372736

Shades and tints

Shades of #1F171E

#1F171E
(31,23,30)
#1D151C
(29,21,28)
#1B131A
(27,19,26)
#191118
(25,17,24)
#170F16
(23,15,22)
#150D14
(21,13,20)
#130B12
(19,11,18)
#110910
(17,9,16)
#0F070E
(15,7,14)
#0D050C
(13,5,12)
#0B030A
(11,3,10)
#000000
(0,0,0)

Tints of #1F171E

#1F171E
(31,23,30)
#332C32
(51,44,50)
#474146
(71,65,70)
#5B565A
(91,86,90)
#6F6B6E
(111,107,110)
#838082
(131,128,130)
#979596
(151,149,150)
#ABAAAA
(171,170,170)
#BFBFBE
(191,191,190)
#D3D4D2
(211,212,210)
#E7E9E6
(231,233,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F171E; }

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

This text font color is #1F171E.


Background Color

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

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

This div background color is #1F171E.


Border color

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

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

This div border color is #1F171E.


Opacity

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

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

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

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

This text has shadow with #1F171E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F171E on black background.


Color preview on white background

This text has color #1F171E on white background.



Black color preview on #1F171E background

This text has black color on #1F171E background.


White color preview on #1F171E background

This text has white color on #1F171E background.