COLOR #312D4D

HEX: #312D4D
RGB: (49,45,77)

Color info

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

RGB color model

#312D4D color RGB value is (49,45,77).

  • red value is 49;
  • green value is 45;
  • blue value is 77.
RGB:
(49,45,77)
(19%,18%,30%)

RGB channels and saturation

R 49 of 255 = 19%
G 45 of 255 = 18%
B 77 of 255 = 30%

49
45
77

R + G + B ~ 22%. #312D4D is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 45 + 77 = 171 (100%)
R 49 of 171 ~ 28.65%
G 45 of 171 ~ 26.32%
B 77 of 171 ~ 45.03%

%28.65
%26.32
%45.03

CMYK color model

#312D4D color CMYK value is (36,42,0,70).

  • cyan value is 36.36%
  • magenta value is 41.56%
  • yellow value is 0.00%
  • key color value is 69.80%
CMYK:
(36,42,0,70)
C36M42Y0K70 
(36%,42%,0%,70%)
(0.36/0.42/0.00/0.70)	

CMYK percentages

%36.36
%41.56
%0
%69.8

Codes

Color #312D4D in popluar color models

312D4D
RGB494577
HSL248°26.23%23.92%
HSB/HSV248°41.56%30.20%
CMYK36.36%41.56%0.00%
69.80%

Color #312D4D in popluar number systems.

HEX312D4D
Decimal494577
Binary1100011011011001101
Octal6155115

Shades and tints

Shades of #312D4D

#312D4D
(49,45,77)
#2D2946
(45,41,70)
#29253F
(41,37,63)
#252138
(37,33,56)
#211D31
(33,29,49)
#1D192A
(29,25,42)
#191523
(25,21,35)
#15111C
(21,17,28)
#110D15
(17,13,21)
#0D090E
(13,9,14)
#090507
(9,5,7)
#000000
(0,0,0)

Tints of #312D4D

#312D4D
(49,45,77)
#43405D
(67,64,93)
#55536D
(85,83,109)
#67667D
(103,102,125)
#79798D
(121,121,141)
#8B8C9D
(139,140,157)
#9D9FAD
(157,159,173)
#AFB2BD
(175,178,189)
#C1C5CD
(193,197,205)
#D3D8DD
(211,216,221)
#E5EBED
(229,235,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312D4D color. Also use rgb(49,45,77) instead hex code.

Text Font Color

.myTextColor { color: #312D4D; }

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

This text font color is #312D4D.


Background Color

.myBgColor { background-color: #312D4D; }

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

This div background color is #312D4D.


Border color

.myBorderColor { border: 1px solid #312D4D; }

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

This div border color is #312D4D.


Opacity

.myOpacity80 { color: #312D4D; opacity: 0.8; }

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

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

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

This text has shadow with #312D4D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #312D4D on black background.


Color preview on white background

This text has color #312D4D on white background.



Black color preview on #312D4D background

This text has black color on #312D4D background.


White color preview on #312D4D background

This text has white color on #312D4D background.