COLOR #311F12

HEX: #311F12
RGB: (49,31,18)

Color info

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

RGB color model

#311F12 color RGB value is (49,31,18).

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

RGB channels and saturation

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

49
31
18

R + G + B ~ 13%. #311F12 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 31 + 18 = 98 (100%)
R 49 of 98 ~ 50%
G 31 of 98 ~ 31.63%
B 18 of 98 ~ 18.37%

%50
%31.63
%18.37

CMYK color model

#311F12 color CMYK value is (0,37,63,81).

  • cyan value is 0.00%
  • magenta value is 36.73%
  • yellow value is 63.27%
  • key color value is 80.78%
CMYK:
(0,37,63,81)
C0M37Y63K81 
(0%,37%,63%,81%)
(0.00/0.37/0.63/0.81)	

CMYK percentages

%0
%36.73
%63.27
%80.78

Codes

Color #311F12 in popluar color models

311F12
RGB493118
HSL25°46.27%13.14%
HSB/HSV25°63.27%19.22%
CMYK0.00%36.73%63.27%
80.78%

Color #311F12 in popluar number systems.

HEX311F12
Decimal493118
Binary1100011111110010
Octal613722

Shades and tints

Shades of #311F12

#311F12
(49,31,18)
#2D1D11
(45,29,17)
#291B10
(41,27,16)
#25190F
(37,25,15)
#21170E
(33,23,14)
#1D150D
(29,21,13)
#19130C
(25,19,12)
#15110B
(21,17,11)
#110F0A
(17,15,10)
#0D0D09
(13,13,9)
#090B08
(9,11,8)
#000000
(0,0,0)

Tints of #311F12

#311F12
(49,31,18)
#433327
(67,51,39)
#55473C
(85,71,60)
#675B51
(103,91,81)
#796F66
(121,111,102)
#8B837B
(139,131,123)
#9D9790
(157,151,144)
#AFABA5
(175,171,165)
#C1BFBA
(193,191,186)
#D3D3CF
(211,211,207)
#E5E7E4
(229,231,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311F12; }

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

This text font color is #311F12.


Background Color

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

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

This div background color is #311F12.


Border color

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

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

This div border color is #311F12.


Opacity

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

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

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

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

This text has shadow with #311F12 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311F12 on black background.


Color preview on white background

This text has color #311F12 on white background.



Black color preview on #311F12 background

This text has black color on #311F12 background.


White color preview on #311F12 background

This text has white color on #311F12 background.