COLOR #1F121E

HEX: #1F121E
RGB: (31,18,30)

Color info

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

RGB color model

#1F121E color RGB value is (31,18,30).

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

RGB channels and saturation

R 31 of 255 = 12%
G 18 of 255 = 7%
B 30 of 255 = 12%

31
18
30

R + G + B ~ 10%. #1F121E is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 18 + 30 = 79 (100%)
R 31 of 79 ~ 39.24%
G 18 of 79 ~ 22.78%
B 30 of 79 ~ 37.97%

%39.24
%22.78
%37.97

CMYK color model

#1F121E color CMYK value is (0,42,3,88).

  • cyan value is 0.00%
  • magenta value is 41.94%
  • yellow value is 3.23%
  • key color value is 87.84%
CMYK:
(0,42,3,88)
C0M42Y3K88 
(0%,42%,3%,88%)
(0.00/0.42/0.03/0.88)	

CMYK percentages

%0
%41.94
%3.23
%87.84

Codes

Color #1F121E in popluar color models

1F121E
RGB311830
HSL305°26.53%9.61%
HSB/HSV305°41.94%12.16%
CMYK0.00%41.94%3.23%
87.84%

Color #1F121E in popluar number systems.

HEX1F121E
Decimal311830
Binary111111001011110
Octal372236

Shades and tints

Shades of #1F121E

#1F121E
(31,18,30)
#1D111C
(29,17,28)
#1B101A
(27,16,26)
#190F18
(25,15,24)
#170E16
(23,14,22)
#150D14
(21,13,20)
#130C12
(19,12,18)
#110B10
(17,11,16)
#0F0A0E
(15,10,14)
#0D090C
(13,9,12)
#0B080A
(11,8,10)
#000000
(0,0,0)

Tints of #1F121E

#1F121E
(31,18,30)
#332732
(51,39,50)
#473C46
(71,60,70)
#5B515A
(91,81,90)
#6F666E
(111,102,110)
#837B82
(131,123,130)
#979096
(151,144,150)
#ABA5AA
(171,165,170)
#BFBABE
(191,186,190)
#D3CFD2
(211,207,210)
#E7E4E6
(231,228,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F121E; }

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

This text font color is #1F121E.


Background Color

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

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

This div background color is #1F121E.


Border color

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

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

This div border color is #1F121E.


Opacity

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

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

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

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

This text has shadow with #1F121E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F121E on black background.


Color preview on white background

This text has color #1F121E on white background.



Black color preview on #1F121E background

This text has black color on #1F121E background.


White color preview on #1F121E background

This text has white color on #1F121E background.