COLOR #312848

HEX: #312848
RGB: (49,40,72)

Color info

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

RGB color model

#312848 color RGB value is (49,40,72).

  • red value is 49;
  • green value is 40;
  • blue value is 72.
RGB:
(49,40,72)
(19%,16%,28%)

RGB channels and saturation

R 49 of 255 = 19%
G 40 of 255 = 16%
B 72 of 255 = 28%

49
40
72

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

Portions of RGB colors in percentages

R + G + B =
49 + 40 + 72 = 161 (100%)
R 49 of 161 ~ 30.43%
G 40 of 161 ~ 24.84%
B 72 of 161 ~ 44.72%

%30.43
%24.84
%44.72

CMYK color model

#312848 color CMYK value is (32,44,0,72).

  • cyan value is 31.94%
  • magenta value is 44.44%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK:
(32,44,0,72)
C32M44Y0K72 
(32%,44%,0%,72%)
(0.32/0.44/0.00/0.72)	

CMYK percentages

%31.94
%44.44
%0
%71.76

Codes

Color #312848 in popluar color models

312848
RGB494072
HSL257°28.57%21.96%
HSB/HSV257°44.44%28.24%
CMYK31.94%44.44%0.00%
71.76%

Color #312848 in popluar number systems.

HEX312848
Decimal494072
Binary1100011010001001000
Octal6150110

Shades and tints

Shades of #312848

#312848
(49,40,72)
#2D2542
(45,37,66)
#29223C
(41,34,60)
#251F36
(37,31,54)
#211C30
(33,28,48)
#1D192A
(29,25,42)
#191624
(25,22,36)
#15131E
(21,19,30)
#111018
(17,16,24)
#0D0D12
(13,13,18)
#090A0C
(9,10,12)
#000000
(0,0,0)

Tints of #312848

#312848
(49,40,72)
#433B58
(67,59,88)
#554E68
(85,78,104)
#676178
(103,97,120)
#797488
(121,116,136)
#8B8798
(139,135,152)
#9D9AA8
(157,154,168)
#AFADB8
(175,173,184)
#C1C0C8
(193,192,200)
#D3D3D8
(211,211,216)
#E5E6E8
(229,230,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312848 color. Also use rgb(49,40,72) instead hex code.

Text Font Color

.myTextColor { color: #312848; }

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

This text font color is #312848.


Background Color

.myBgColor { background-color: #312848; }

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

This div background color is #312848.


Border color

.myBorderColor { border: 1px solid #312848; }

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

This div border color is #312848.


Opacity

.myOpacity80 { color: #312848; opacity: 0.8; }

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

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

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

This text has shadow with #312848 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #312848 on black background.


Color preview on white background

This text has color #312848 on white background.



Black color preview on #312848 background

This text has black color on #312848 background.


White color preview on #312848 background

This text has white color on #312848 background.