COLOR #1F2F21

HEX: #1F2F21 RGB: (31,47,33)

Color info

#1F2F21 contains red, green and blue colors in about the same proportion. Web safe color of #1F2F21 is #333333 (or #333).

RGB color model

#1F2F21 color RGB value is (31,47,33).

RGB: (31,47,33) (12%, 18%, 13%)

RGB channels and saturation

R 31 of 255 = 12%
G 47 of 255 = 18%
B 33 of 255 = 13%

31
47
33

R + G + B ~ 14%. #1F2F21 is dark color.

Portions of RGB colors in percentages

R + G + B = 31 + 47 + 33 = 111 (100%)
R 31 of 111 ~ 27.93%
G 47 of 111 ~ 42.34%
B 33 of 111 ~ 29.73'%

%27.93
%42.34
%29.73

CMYK color model

#1F2F21 color CMYK value is (34,0,30,82).

  • cyan value is 34.04%
  • magenta value is 0.00%
  • yellow value is 29.79%
  • key color value is 81.57%

CMYK: (34,0,30,82)
C34M0Y30K82 (34%, 0%, 30%, 82%)
(0.34 / 0.00 / 0.30 / 0.82)

CMYK percentages

%34.04
%0
%29.79
%81.57

Codes

Color #1F2F21 in popluar color models

1F 2F 21
RGB 31 47 33
HSL 128° 20.51% 15.29%
HSB/HSV 128° 34.04% 18.43%
CMYK 34.04% 0.00% 29.79%
81.57%

Color #1F2F21 in popluar number systems.

HEX 1F 2F 21
Decimal 31 47 33
Binary 11111 101111 100001
Octal 37 57 41

Shades and tints

Shades of #1F2F21

#1F2F21
(31,47,33)
#1D2B1E
(29,43,30)
#1B271B
(27,39,27)
#192318
(25,35,24)
#171F15
(23,31,21)
#151B12
(21,27,18)
#13170F
(19,23,15)
#11130C
(17,19,12)
#0F0F09
(15,15,9)
#0D0B06
(13,11,6)
#0B0703
(11,7,3)
#000000
(0,0,0)

Tints of #1F2F21

#1F2F21
(31,47,33)
#334135
(51,65,53)
#475349
(71,83,73)
#5B655D
(91,101,93)
#6F7771
(111,119,113)
#838985
(131,137,133)
#979B99
(151,155,153)
#ABADAD
(171,173,173)
#BFBFC1
(191,191,193)
#D3D1D5
(211,209,213)
#E7E3E9
(231,227,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F2F21; }

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

This text font color is #1F2F21.

Background Color

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

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

This div background color is #1F2F21.

Border color

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

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

This div border color is #1F2F21.

Opacity

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

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

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

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

This text has shadow with #1F2F21 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F2F21.

Preview

Color preview on black background

This text has color #1F2F21 on black background.


Color preview on white background

This text has color #1F2F21 on white background.


Black color preview on #1F2F21 background

This text has black color on #1F2F21 background.


White color preview on #1F2F21 background

This text has white color on #1F2F21 background.


Related colors

Complementary color

Complementary color for #hex is #E0D0DE.


I love getcolorcode.com

Triadic colors

1 #211F2F and #2F211F with #1F2F21 are triadic colors.

2 #212F1F and #2F1F21 with #1F2F21 are triadic colors.