COLOR #312E40

HEX: #312E40 RGB: (49,46,64)

Color info

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

RGB color model

#312E40 color RGB value is (49,46,64).

RGB: (49,46,64) (19%, 18%, 25%)

RGB channels and saturation

R 49 of 255 = 19%
G 46 of 255 = 18%
B 64 of 255 = 25%

49
46
64

R + G + B ~ 21%. #312E40 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 46 + 64 = 159 (100%)
R 49 of 159 ~ 30.82%
G 46 of 159 ~ 28.93%
B 64 of 159 ~ 40.25'%

%30.82
%28.93
%40.25

CMYK color model

#312E40 color CMYK value is (23,28,0,75).

  • cyan value is 23.44%
  • magenta value is 28.13%
  • yellow value is 0.00%
  • key color value is 74.90%

CMYK: (23,28,0,75)
C23M28Y0K75 (23%, 28%, 0%, 75%)
(0.23 / 0.28 / 0.00 / 0.75)

CMYK percentages

%23.44
%28.13
%0
%74.9

Codes

Color #312E40 in popluar color models

31 2E 40
RGB 49 46 64
HSL 250° 16.36% 21.57%
HSB/HSV 250° 28.13% 25.10%
CMYK 23.44% 28.13% 0.00%
74.90%

Color #312E40 in popluar number systems.

HEX 31 2E 40
Decimal 49 46 64
Binary 110001 101110 1000000
Octal 61 56 100

Shades and tints

Shades of #312E40

#312E40
(49,46,64)
#2D2A3B
(45,42,59)
#292636
(41,38,54)
#252231
(37,34,49)
#211E2C
(33,30,44)
#1D1A27
(29,26,39)
#191622
(25,22,34)
#15121D
(21,18,29)
#110E18
(17,14,24)
#0D0A13
(13,10,19)
#09060E
(9,6,14)
#000000
(0,0,0)

Tints of #312E40

#312E40
(49,46,64)
#434151
(67,65,81)
#555462
(85,84,98)
#676773
(103,103,115)
#797A84
(121,122,132)
#8B8D95
(139,141,149)
#9DA0A6
(157,160,166)
#AFB3B7
(175,179,183)
#C1C6C8
(193,198,200)
#D3D9D9
(211,217,217)
#E5ECEA
(229,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #312E40; }

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

This text font color is #312E40.

Background Color

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

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

This div background color is #312E40.

Border color

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

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

This div border color is #312E40.

Opacity

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

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

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

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

This text has shadow with #312E40 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312E40.

Preview

Color preview on black background

This text has color #312E40 on black background.


Color preview on white background

This text has color #312E40 on white background.


Black color preview on #312E40 background

This text has black color on #312E40 background.


White color preview on #312E40 background

This text has white color on #312E40 background.


Related colors

Complementary color

Complementary color for #hex is #CED1BF.


I love getcolorcode.com

Triadic colors

1 #40312E and #2E4031 with #312E40 are triadic colors.

2 #402E31 and #2E3140 with #312E40 are triadic colors.