COLOR #1F1F12

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

Color info

#1F1F12 contains red, green and blue colors in about the same proportion. Web safe color of #1F1F12 is #333300 (or #330).

RGB color model

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

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

RGB channels and saturation

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

31
31
18

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

Portions of RGB colors in percentages

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

%38.75
%38.75
%22.5

CMYK color model

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

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

CMYK percentages

%0
%0
%41.94
%87.84

Codes

Color #1F1F12 in popluar color models

1F1F12
RGB313118
HSL60°26.53%9.61%
HSB/HSV60°41.94%12.16%
CMYK0.00%0.00%41.94%
87.84%

Color #1F1F12 in popluar number systems.

HEX1F1F12
Decimal313118
Binary111111111110010
Octal373722

Shades and tints

Shades of #1F1F12

#1F1F12
(31,31,18)
#1D1D11
(29,29,17)
#1B1B10
(27,27,16)
#19190F
(25,25,15)
#17170E
(23,23,14)
#15150D
(21,21,13)
#13130C
(19,19,12)
#11110B
(17,17,11)
#0F0F0A
(15,15,10)
#0D0D09
(13,13,9)
#0B0B08
(11,11,8)
#000000
(0,0,0)

Tints of #1F1F12

#1F1F12
(31,31,18)
#333327
(51,51,39)
#47473C
(71,71,60)
#5B5B51
(91,91,81)
#6F6F66
(111,111,102)
#83837B
(131,131,123)
#979790
(151,151,144)
#ABABA5
(171,171,165)
#BFBFBA
(191,191,186)
#D3D3CF
(211,211,207)
#E7E7E4
(231,231,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F1F12; }

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

This text font color is #1F1F12.


Background Color

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

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

This div background color is #1F1F12.


Border color

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

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

This div border color is #1F1F12.


Opacity

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

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

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

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

This text has shadow with #1F1F12 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F1F12 on black background.


Color preview on white background

This text has color #1F1F12 on white background.



Black color preview on #1F1F12 background

This text has black color on #1F1F12 background.


White color preview on #1F1F12 background

This text has white color on #1F1F12 background.