COLOR #1F121F

HEX: #1F121F RGB: (31,18,31)

Color info

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

RGB color model

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

RGB: (31,18,31) (12%, 7%, 12%)

RGB channels and saturation

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

31
18
31

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

Portions of RGB colors in percentages

R + G + B = 31 + 18 + 31 = 80 (100%)
R 31 of 80 ~ 38.75%
G 18 of 80 ~ 22.5%
B 31 of 80 ~ 38.75'%

%38.75
%22.5
%38.75

CMYK color model

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

  • cyan value is 0.00%
  • magenta value is 41.94%
  • yellow value is 0.00%
  • key color value is 87.84%

CMYK: (0,42,0,88)
C0M42Y0K88 (0%, 42%, 0%, 88%)
(0.00 / 0.42 / 0.00 / 0.88)

CMYK percentages

%0
%41.94
%0
%87.84

Codes

Color #1F121F in popluar color models

1F 12 1F
RGB 31 18 31
HSL 300° 26.53% 9.61%
HSB/HSV 300° 41.94% 12.16%
CMYK 0.00% 41.94% 0.00%
87.84%

Color #1F121F in popluar number systems.

HEX 1F 12 1F
Decimal 31 18 31
Binary 11111 10010 11111
Octal 37 22 37

Shades and tints

Shades of #1F121F

#1F121F
(31,18,31)
#1D111D
(29,17,29)
#1B101B
(27,16,27)
#190F19
(25,15,25)
#170E17
(23,14,23)
#150D15
(21,13,21)
#130C13
(19,12,19)
#110B11
(17,11,17)
#0F0A0F
(15,10,15)
#0D090D
(13,9,13)
#0B080B
(11,8,11)
#000000
(0,0,0)

Tints of #1F121F

#1F121F
(31,18,31)
#332733
(51,39,51)
#473C47
(71,60,71)
#5B515B
(91,81,91)
#6F666F
(111,102,111)
#837B83
(131,123,131)
#979097
(151,144,151)
#ABA5AB
(171,165,171)
#BFBABF
(191,186,191)
#D3CFD3
(211,207,211)
#E7E4E7
(231,228,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F121F; }

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

This text font color is #1F121F.

Background Color

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

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

This div background color is #1F121F.

Border color

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

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

This div border color is #1F121F.

Opacity

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

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

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

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

This text has shadow with #1F121F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F121F.

Preview

Color preview on black background

This text has color #1F121F on black background.


Color preview on white background

This text has color #1F121F on white background.


Black color preview on #1F121F background

This text has black color on #1F121F background.


White color preview on #1F121F background

This text has white color on #1F121F background.


Related colors

Complementary color

Complementary color for #hex is #E0EDE0.


I love getcolorcode.com

Triadic colors

1 #1F1F12 and #121F1F with #1F121F are triadic colors.

2 #1F121F and #121F1F with #1F121F are triadic colors.