COLOR #311D34

HEX: #311D34
RGB: (49,29,52)

Color info

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

RGB color model

#311D34 color RGB value is (49,29,52).

  • red value is 49;
  • green value is 29;
  • blue value is 52.
RGB:
(49,29,52)
(19%,11%,20%)

RGB channels and saturation

R 49 of 255 = 19%
G 29 of 255 = 11%
B 52 of 255 = 20%

49
29
52

R + G + B ~ 17%. #311D34 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 29 + 52 = 130 (100%)
R 49 of 130 ~ 37.69%
G 29 of 130 ~ 22.31%
B 52 of 130 ~ 40%

%37.69
%22.31
%40

CMYK color model

#311D34 color CMYK value is (6,44,0,80).

  • cyan value is 5.77%
  • magenta value is 44.23%
  • yellow value is 0.00%
  • key color value is 79.61%
CMYK:
(6,44,0,80)
C6M44Y0K80 
(6%,44%,0%,80%)
(0.06/0.44/0.00/0.80)	

CMYK percentages

%5.77
%44.23
%0
%79.61

Codes

Color #311D34 in popluar color models

311D34
RGB492952
HSL292°28.40%15.88%
HSB/HSV292°44.23%20.39%
CMYK5.77%44.23%0.00%
79.61%

Color #311D34 in popluar number systems.

HEX311D34
Decimal492952
Binary11000111101110100
Octal613564

Shades and tints

Shades of #311D34

#311D34
(49,29,52)
#2D1B30
(45,27,48)
#29192C
(41,25,44)
#251728
(37,23,40)
#211524
(33,21,36)
#1D1320
(29,19,32)
#19111C
(25,17,28)
#150F18
(21,15,24)
#110D14
(17,13,20)
#0D0B10
(13,11,16)
#09090C
(9,9,12)
#000000
(0,0,0)

Tints of #311D34

#311D34
(49,29,52)
#433146
(67,49,70)
#554558
(85,69,88)
#67596A
(103,89,106)
#796D7C
(121,109,124)
#8B818E
(139,129,142)
#9D95A0
(157,149,160)
#AFA9B2
(175,169,178)
#C1BDC4
(193,189,196)
#D3D1D6
(211,209,214)
#E5E5E8
(229,229,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311D34 color. Also use rgb(49,29,52) instead hex code.

Text Font Color

.myTextColor { color: #311D34; }

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

This text font color is #311D34.


Background Color

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

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

This div background color is #311D34.


Border color

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

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

This div border color is #311D34.


Opacity

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

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

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

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

This text has shadow with #311D34 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311D34 on black background.


Color preview on white background

This text has color #311D34 on white background.



Black color preview on #311D34 background

This text has black color on #311D34 background.


White color preview on #311D34 background

This text has white color on #311D34 background.