COLOR #312D4C

HEX: #312D4C RGB: (49,45,76)

Color info

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

RGB color model

#312D4C color RGB value is (49,45,76).

RGB: (49,45,76) (19%, 18%, 30%)

RGB channels and saturation

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

49
45
76

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

Portions of RGB colors in percentages

R + G + B = 49 + 45 + 76 = 170 (100%)
R 49 of 170 ~ 28.82%
G 45 of 170 ~ 26.47%
B 76 of 170 ~ 44.71'%

%28.82
%26.47
%44.71

CMYK color model

#312D4C color CMYK value is (36,41,0,70).

  • cyan value is 35.53%
  • magenta value is 40.79%
  • yellow value is 0.00%
  • key color value is 70.20%

CMYK: (36,41,0,70)
C36M41Y0K70 (36%, 41%, 0%, 70%)
(0.36 / 0.41 / 0.00 / 0.70)

CMYK percentages

%35.53
%40.79
%0
%70.2

Codes

Color #312D4C in popluar color models

31 2D 4C
RGB 49 45 76
HSL 248° 25.62% 23.73%
HSB/HSV 248° 40.79% 29.80%
CMYK 35.53% 40.79% 0.00%
70.20%

Color #312D4C in popluar number systems.

HEX 31 2D 4C
Decimal 49 45 76
Binary 110001 101101 1001100
Octal 61 55 114

Shades and tints

Shades of #312D4C

#312D4C
(49,45,76)
#2D2946
(45,41,70)
#292540
(41,37,64)
#25213A
(37,33,58)
#211D34
(33,29,52)
#1D192E
(29,25,46)
#191528
(25,21,40)
#151122
(21,17,34)
#110D1C
(17,13,28)
#0D0916
(13,9,22)
#090510
(9,5,16)
#000000
(0,0,0)

Tints of #312D4C

#312D4C
(49,45,76)
#43405C
(67,64,92)
#55536C
(85,83,108)
#67667C
(103,102,124)
#79798C
(121,121,140)
#8B8C9C
(139,140,156)
#9D9FAC
(157,159,172)
#AFB2BC
(175,178,188)
#C1C5CC
(193,197,204)
#D3D8DC
(211,216,220)
#E5EBEC
(229,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #312D4C; }

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

This text font color is #312D4C.

Background Color

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

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

This div background color is #312D4C.

Border color

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

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

This div border color is #312D4C.

Opacity

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

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

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

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

This text has shadow with #312D4C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312D4C.

Preview

Color preview on black background

This text has color #312D4C on black background.


Color preview on white background

This text has color #312D4C on white background.


Black color preview on #312D4C background

This text has black color on #312D4C background.


White color preview on #312D4C background

This text has white color on #312D4C background.


Related colors

Complementary color

Complementary color for #hex is #CED2B3.


I love getcolorcode.com

Triadic colors

1 #4C312D and #2D4C31 with #312D4C are triadic colors.

2 #4C2D31 and #2D314C with #312D4C are triadic colors.