COLOR #312821

HEX: #312821
RGB: (49,40,33)

Color info

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

RGB color model

#312821 color RGB value is (49,40,33).

  • red value is 49;
  • green value is 40;
  • blue value is 33.
RGB:
(49,40,33)
(19%,16%,13%)

RGB channels and saturation

R 49 of 255 = 19%
G 40 of 255 = 16%
B 33 of 255 = 13%

49
40
33

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

Portions of RGB colors in percentages

R + G + B =
49 + 40 + 33 = 122 (100%)
R 49 of 122 ~ 40.16%
G 40 of 122 ~ 32.79%
B 33 of 122 ~ 27.05%

%40.16
%32.79
%27.05

CMYK color model

#312821 color CMYK value is (0,18,33,81).

  • cyan value is 0.00%
  • magenta value is 18.37%
  • yellow value is 32.65%
  • key color value is 80.78%
CMYK:
(0,18,33,81)
C0M18Y33K81 
(0%,18%,33%,81%)
(0.00/0.18/0.33/0.81)	

CMYK percentages

%0
%18.37
%32.65
%80.78

Codes

Color #312821 in popluar color models

312821
RGB494033
HSL26°19.51%16.08%
HSB/HSV26°32.65%19.22%
CMYK0.00%18.37%32.65%
80.78%

Color #312821 in popluar number systems.

HEX312821
Decimal494033
Binary110001101000100001
Octal615041

Shades and tints

Shades of #312821

#312821
(49,40,33)
#2D251E
(45,37,30)
#29221B
(41,34,27)
#251F18
(37,31,24)
#211C15
(33,28,21)
#1D1912
(29,25,18)
#19160F
(25,22,15)
#15130C
(21,19,12)
#111009
(17,16,9)
#0D0D06
(13,13,6)
#090A03
(9,10,3)
#000000
(0,0,0)

Tints of #312821

#312821
(49,40,33)
#433B35
(67,59,53)
#554E49
(85,78,73)
#67615D
(103,97,93)
#797471
(121,116,113)
#8B8785
(139,135,133)
#9D9A99
(157,154,153)
#AFADAD
(175,173,173)
#C1C0C1
(193,192,193)
#D3D3D5
(211,211,213)
#E5E6E9
(229,230,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312821 color. Also use rgb(49,40,33) instead hex code.

Text Font Color

.myTextColor { color: #312821; }

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

This text font color is #312821.


Background Color

.myBgColor { background-color: #312821; }

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

This div background color is #312821.


Border color

.myBorderColor { border: 1px solid #312821; }

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

This div border color is #312821.


Opacity

.myOpacity80 { color: #312821; opacity: 0.8; }

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

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

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

This text has shadow with #312821 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #312821 on black background.


Color preview on white background

This text has color #312821 on white background.



Black color preview on #312821 background

This text has black color on #312821 background.


White color preview on #312821 background

This text has white color on #312821 background.