COLOR #31221F

HEX: #31221F
RGB: (49,34,31)

Color info

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

RGB color model

#31221F color RGB value is (49,34,31).

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

RGB channels and saturation

R 49 of 255 = 19%
G 34 of 255 = 13%
B 31 of 255 = 12%

49
34
31

R + G + B ~ 15%. #31221F is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 34 + 31 = 114 (100%)
R 49 of 114 ~ 42.98%
G 34 of 114 ~ 29.82%
B 31 of 114 ~ 27.19%

%42.98
%29.82
%27.19

CMYK color model

#31221F color CMYK value is (0,31,37,81).

  • cyan value is 0.00%
  • magenta value is 30.61%
  • yellow value is 36.73%
  • key color value is 80.78%
CMYK:
(0,31,37,81)
C0M31Y37K81 
(0%,31%,37%,81%)
(0.00/0.31/0.37/0.81)	

CMYK percentages

%0
%30.61
%36.73
%80.78

Codes

Color #31221F in popluar color models

31221F
RGB493431
HSL10°22.50%15.69%
HSB/HSV10°36.73%19.22%
CMYK0.00%30.61%36.73%
80.78%

Color #31221F in popluar number systems.

HEX31221F
Decimal493431
Binary11000110001011111
Octal614237

Shades and tints

Shades of #31221F

#31221F
(49,34,31)
#2D1F1D
(45,31,29)
#291C1B
(41,28,27)
#251919
(37,25,25)
#211617
(33,22,23)
#1D1315
(29,19,21)
#191013
(25,16,19)
#150D11
(21,13,17)
#110A0F
(17,10,15)
#0D070D
(13,7,13)
#09040B
(9,4,11)
#000000
(0,0,0)

Tints of #31221F

#31221F
(49,34,31)
#433633
(67,54,51)
#554A47
(85,74,71)
#675E5B
(103,94,91)
#79726F
(121,114,111)
#8B8683
(139,134,131)
#9D9A97
(157,154,151)
#AFAEAB
(175,174,171)
#C1C2BF
(193,194,191)
#D3D6D3
(211,214,211)
#E5EAE7
(229,234,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31221F color. Also use rgb(49,34,31) instead hex code.

Text Font Color

.myTextColor { color: #31221F; }

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

This text font color is #31221F.


Background Color

.myBgColor { background-color: #31221F; }

<div style="background-color:#31221F">Inner text</div>

This div background color is #31221F.


Border color

.myBorderColor { border: 1px solid #31221F; }

<div style="border:3px solid #31221F">Div</div>

This div border color is #31221F.


Opacity

.myOpacity80 { color: #31221F; opacity: 0.8; }

<p style="color:#31221F;opacity:0.8;">80%</p>

Text with #31221F 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 #31221F;}

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

This text has shadow with #31221F color.

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

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

This text has shadow with #31221F primary color and red secondary color.


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

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

This text has shadow with #31221F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31221F on black background.


Color preview on white background

This text has color #31221F on white background.



Black color preview on #31221F background

This text has black color on #31221F background.


White color preview on #31221F background

This text has white color on #31221F background.