COLOR #312E4D

HEX: #312E4D
RGB: (49,46,77)

Color info

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

RGB color model

#312E4D color RGB value is (49,46,77).

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

RGB channels and saturation

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

49
46
77

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

Portions of RGB colors in percentages

R + G + B =
49 + 46 + 77 = 172 (100%)
R 49 of 172 ~ 28.49%
G 46 of 172 ~ 26.74%
B 77 of 172 ~ 44.77%

%28.49
%26.74
%44.77

CMYK color model

#312E4D color CMYK value is (36,40,0,70).

  • cyan value is 36.36%
  • magenta value is 40.26%
  • yellow value is 0.00%
  • key color value is 69.80%
CMYK:
(36,40,0,70)
C36M40Y0K70 
(36%,40%,0%,70%)
(0.36/0.40/0.00/0.70)	

CMYK percentages

%36.36
%40.26
%0
%69.8

Codes

Color #312E4D in popluar color models

312E4D
RGB494677
HSL246°25.20%24.12%
HSB/HSV246°40.26%30.20%
CMYK36.36%40.26%0.00%
69.80%

Color #312E4D in popluar number systems.

HEX312E4D
Decimal494677
Binary1100011011101001101
Octal6156115

Shades and tints

Shades of #312E4D

#312E4D
(49,46,77)
#2D2A46
(45,42,70)
#29263F
(41,38,63)
#252238
(37,34,56)
#211E31
(33,30,49)
#1D1A2A
(29,26,42)
#191623
(25,22,35)
#15121C
(21,18,28)
#110E15
(17,14,21)
#0D0A0E
(13,10,14)
#090607
(9,6,7)
#000000
(0,0,0)

Tints of #312E4D

#312E4D
(49,46,77)
#43415D
(67,65,93)
#55546D
(85,84,109)
#67677D
(103,103,125)
#797A8D
(121,122,141)
#8B8D9D
(139,141,157)
#9DA0AD
(157,160,173)
#AFB3BD
(175,179,189)
#C1C6CD
(193,198,205)
#D3D9DD
(211,217,221)
#E5ECED
(229,236,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #312E4D; }

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

This text font color is #312E4D.


Background Color

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

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

This div background color is #312E4D.


Border color

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

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

This div border color is #312E4D.


Opacity

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

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

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

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

This text has shadow with #312E4D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #312E4D on black background.


Color preview on white background

This text has color #312E4D on white background.



Black color preview on #312E4D background

This text has black color on #312E4D background.


White color preview on #312E4D background

This text has white color on #312E4D background.