COLOR #311C12

HEX: #311C12
RGB: (49,28,18)

Color info

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

RGB color model

#311C12 color RGB value is (49,28,18).

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

RGB channels and saturation

R 49 of 255 = 19%
G 28 of 255 = 11%
B 18 of 255 = 7%

49
28
18

R + G + B ~ 12%. #311C12 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 28 + 18 = 95 (100%)
R 49 of 95 ~ 51.58%
G 28 of 95 ~ 29.47%
B 18 of 95 ~ 18.95%

%51.58
%29.47
%18.95

CMYK color model

#311C12 color CMYK value is (0,43,63,81).

  • cyan value is 0.00%
  • magenta value is 42.86%
  • yellow value is 63.27%
  • key color value is 80.78%
CMYK:
(0,43,63,81)
C0M43Y63K81 
(0%,43%,63%,81%)
(0.00/0.43/0.63/0.81)	

CMYK percentages

%0
%42.86
%63.27
%80.78

Codes

Color #311C12 in popluar color models

311C12
RGB492818
HSL19°46.27%13.14%
HSB/HSV19°63.27%19.22%
CMYK0.00%42.86%63.27%
80.78%

Color #311C12 in popluar number systems.

HEX311C12
Decimal492818
Binary1100011110010010
Octal613422

Shades and tints

Shades of #311C12

#311C12
(49,28,18)
#2D1A11
(45,26,17)
#291810
(41,24,16)
#25160F
(37,22,15)
#21140E
(33,20,14)
#1D120D
(29,18,13)
#19100C
(25,16,12)
#150E0B
(21,14,11)
#110C0A
(17,12,10)
#0D0A09
(13,10,9)
#090808
(9,8,8)
#000000
(0,0,0)

Tints of #311C12

#311C12
(49,28,18)
#433027
(67,48,39)
#55443C
(85,68,60)
#675851
(103,88,81)
#796C66
(121,108,102)
#8B807B
(139,128,123)
#9D9490
(157,148,144)
#AFA8A5
(175,168,165)
#C1BCBA
(193,188,186)
#D3D0CF
(211,208,207)
#E5E4E4
(229,228,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311C12; }

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

This text font color is #311C12.


Background Color

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

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

This div background color is #311C12.


Border color

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

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

This div border color is #311C12.


Opacity

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

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

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

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

This text has shadow with #311C12 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311C12 on black background.


Color preview on white background

This text has color #311C12 on white background.



Black color preview on #311C12 background

This text has black color on #311C12 background.


White color preview on #311C12 background

This text has white color on #311C12 background.