COLOR #2F1F31

HEX: #2F1F31
RGB: (47,31,49)

Color info

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

RGB color model

#2F1F31 color RGB value is (47,31,49).

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

RGB channels and saturation

R 47 of 255 = 18%
G 31 of 255 = 12%
B 49 of 255 = 19%

47
31
49

R + G + B ~ 16%. #2F1F31 is dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 31 + 49 = 127 (100%)
R 47 of 127 ~ 37.01%
G 31 of 127 ~ 24.41%
B 49 of 127 ~ 38.58%

%37.01
%24.41
%38.58

CMYK color model

#2F1F31 color CMYK value is (4,37,0,81).

  • cyan value is 4.08%
  • magenta value is 36.73%
  • yellow value is 0.00%
  • key color value is 80.78%
CMYK:
(4,37,0,81)
C4M37Y0K81 
(4%,37%,0%,81%)
(0.04/0.37/0.00/0.81)	

CMYK percentages

%4.08
%36.73
%0
%80.78

Codes

Color #2F1F31 in popluar color models

2F1F31
RGB473149
HSL293°22.50%15.69%
HSB/HSV293°36.73%19.22%
CMYK4.08%36.73%0.00%
80.78%

Color #2F1F31 in popluar number systems.

HEX2F1F31
Decimal473149
Binary10111111111110001
Octal573761

Shades and tints

Shades of #2F1F31

#2F1F31
(47,31,49)
#2B1D2D
(43,29,45)
#271B29
(39,27,41)
#231925
(35,25,37)
#1F1721
(31,23,33)
#1B151D
(27,21,29)
#171319
(23,19,25)
#131115
(19,17,21)
#0F0F11
(15,15,17)
#0B0D0D
(11,13,13)
#070B09
(7,11,9)
#000000
(0,0,0)

Tints of #2F1F31

#2F1F31
(47,31,49)
#413343
(65,51,67)
#534755
(83,71,85)
#655B67
(101,91,103)
#776F79
(119,111,121)
#89838B
(137,131,139)
#9B979D
(155,151,157)
#ADABAF
(173,171,175)
#BFBFC1
(191,191,193)
#D1D3D3
(209,211,211)
#E3E7E5
(227,231,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F1F31 color. Also use rgb(47,31,49) instead hex code.

Text Font Color

.myTextColor { color: #2F1F31; }

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

This text font color is #2F1F31.


Background Color

.myBgColor { background-color: #2F1F31; }

<div style="background-color:#2F1F31">Inner text</div>

This div background color is #2F1F31.


Border color

.myBorderColor { border: 1px solid #2F1F31; }

<div style="border:3px solid #2F1F31">Div</div>

This div border color is #2F1F31.


Opacity

.myOpacity80 { color: #2F1F31; opacity: 0.8; }

<p style="color:#2F1F31;opacity:0.8;">80%</p>

Text with #2F1F31 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 #2F1F31;}

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

This text has shadow with #2F1F31 color.

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

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

This text has shadow with #2F1F31 primary color and red secondary color.


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

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

This text has shadow with #2F1F31 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F1F31 on black background.


Color preview on white background

This text has color #2F1F31 on white background.



Black color preview on #2F1F31 background

This text has black color on #2F1F31 background.


White color preview on #2F1F31 background

This text has white color on #2F1F31 background.