COLOR #311F2F

HEX: #311F2F
RGB: (49,31,47)

Color info

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

RGB color model

#311F2F color RGB value is (49,31,47).

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

RGB channels and saturation

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

49
31
47

R + G + B ~ 16%. #311F2F is dark color.

Portions of RGB colors in percentages

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

%38.58
%24.41
%37.01

CMYK color model

#311F2F color CMYK value is (0,37,4,81).

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

CMYK percentages

%0
%36.73
%4.08
%80.78

Codes

Color #311F2F in popluar color models

311F2F
RGB493147
HSL307°22.50%15.69%
HSB/HSV307°36.73%19.22%
CMYK0.00%36.73%4.08%
80.78%

Color #311F2F in popluar number systems.

HEX311F2F
Decimal493147
Binary11000111111101111
Octal613757

Shades and tints

Shades of #311F2F

#311F2F
(49,31,47)
#2D1D2B
(45,29,43)
#291B27
(41,27,39)
#251923
(37,25,35)
#21171F
(33,23,31)
#1D151B
(29,21,27)
#191317
(25,19,23)
#151113
(21,17,19)
#110F0F
(17,15,15)
#0D0D0B
(13,13,11)
#090B07
(9,11,7)
#000000
(0,0,0)

Tints of #311F2F

#311F2F
(49,31,47)
#433341
(67,51,65)
#554753
(85,71,83)
#675B65
(103,91,101)
#796F77
(121,111,119)
#8B8389
(139,131,137)
#9D979B
(157,151,155)
#AFABAD
(175,171,173)
#C1BFBF
(193,191,191)
#D3D3D1
(211,211,209)
#E5E7E3
(229,231,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311F2F; }

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

This text font color is #311F2F.


Background Color

.myBgColor { background-color: #311F2F; }

<div style="background-color:#311F2F">Inner text</div>

This div background color is #311F2F.


Border color

.myBorderColor { border: 1px solid #311F2F; }

<div style="border:3px solid #311F2F">Div</div>

This div border color is #311F2F.


Opacity

.myOpacity80 { color: #311F2F; opacity: 0.8; }

<p style="color:#311F2F;opacity:0.8;">80%</p>

Text with #311F2F 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 #311F2F;}

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

This text has shadow with #311F2F color.

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

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

This text has shadow with #311F2F primary color and red secondary color.


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

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

This text has shadow with #311F2F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311F2F on black background.


Color preview on white background

This text has color #311F2F on white background.



Black color preview on #311F2F background

This text has black color on #311F2F background.


White color preview on #311F2F background

This text has white color on #311F2F background.