COLOR #1F1218

HEX: #1F1218 RGB: (31,18,24)

Color info

#1F1218 contains red, green and blue colors in about the same proportion. Web safe color of #1F1218 is #330000 (or #300).

RGB color model

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

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

RGB channels and saturation

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

31
18
24

R + G + B ~ 9%. #1F1218 is dark color.

Portions of RGB colors in percentages

R + G + B = 31 + 18 + 24 = 73 (100%)
R 31 of 73 ~ 42.47%
G 18 of 73 ~ 24.66%
B 24 of 73 ~ 32.88'%

%42.47
%24.66
%32.88

CMYK color model

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

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

CMYK: (0,42,23,88)
C0M42Y23K88 (0%, 42%, 23%, 88%)
(0.00 / 0.42 / 0.23 / 0.88)

CMYK percentages

%0
%41.94
%22.58
%87.84

Codes

Color #1F1218 in popluar color models

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

Color #1F1218 in popluar number systems.

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

Shades and tints

Shades of #1F1218

#1F1218
(31,18,24)
#1D1116
(29,17,22)
#1B1014
(27,16,20)
#190F12
(25,15,18)
#170E10
(23,14,16)
#150D0E
(21,13,14)
#130C0C
(19,12,12)
#110B0A
(17,11,10)
#0F0A08
(15,10,8)
#0D0906
(13,9,6)
#0B0804
(11,8,4)
#000000
(0,0,0)

Tints of #1F1218

#1F1218
(31,18,24)
#33272D
(51,39,45)
#473C42
(71,60,66)
#5B5157
(91,81,87)
#6F666C
(111,102,108)
#837B81
(131,123,129)
#979096
(151,144,150)
#ABA5AB
(171,165,171)
#BFBAC0
(191,186,192)
#D3CFD5
(211,207,213)
#E7E4EA
(231,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F1218; }

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

This text font color is #1F1218.

Background Color

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

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

This div background color is #1F1218.

Border color

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

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

This div border color is #1F1218.

Opacity

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

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

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

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

This text has shadow with #1F1218 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F1218.

Preview

Color preview on black background

This text has color #1F1218 on black background.


Color preview on white background

This text has color #1F1218 on white background.


Black color preview on #1F1218 background

This text has black color on #1F1218 background.


White color preview on #1F1218 background

This text has white color on #1F1218 background.


Related colors

Complementary color

Complementary color for #hex is #E0EDE7.


I love getcolorcode.com

Triadic colors

1 #181F12 and #12181F with #1F1218 are triadic colors.

2 #18121F and #121F18 with #1F1218 are triadic colors.