COLOR #312A48

HEX: #312A48
RGB: (49,42,72)

Color info

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

RGB color model

#312A48 color RGB value is (49,42,72).

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

RGB channels and saturation

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

49
42
72

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

Portions of RGB colors in percentages

R + G + B =
49 + 42 + 72 = 163 (100%)
R 49 of 163 ~ 30.06%
G 42 of 163 ~ 25.77%
B 72 of 163 ~ 44.17%

%30.06
%25.77
%44.17

CMYK color model

#312A48 color CMYK value is (32,42,0,72).

  • cyan value is 31.94%
  • magenta value is 41.67%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK:
(32,42,0,72)
C32M42Y0K72 
(32%,42%,0%,72%)
(0.32/0.42/0.00/0.72)	

CMYK percentages

%31.94
%41.67
%0
%71.76

Codes

Color #312A48 in popluar color models

312A48
RGB494272
HSL254°26.32%22.35%
HSB/HSV254°41.67%28.24%
CMYK31.94%41.67%0.00%
71.76%

Color #312A48 in popluar number systems.

HEX312A48
Decimal494272
Binary1100011010101001000
Octal6152110

Shades and tints

Shades of #312A48

#312A48
(49,42,72)
#2D2742
(45,39,66)
#29243C
(41,36,60)
#252136
(37,33,54)
#211E30
(33,30,48)
#1D1B2A
(29,27,42)
#191824
(25,24,36)
#15151E
(21,21,30)
#111218
(17,18,24)
#0D0F12
(13,15,18)
#090C0C
(9,12,12)
#000000
(0,0,0)

Tints of #312A48

#312A48
(49,42,72)
#433D58
(67,61,88)
#555068
(85,80,104)
#676378
(103,99,120)
#797688
(121,118,136)
#8B8998
(139,137,152)
#9D9CA8
(157,156,168)
#AFAFB8
(175,175,184)
#C1C2C8
(193,194,200)
#D3D5D8
(211,213,216)
#E5E8E8
(229,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #312A48; }

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

This text font color is #312A48.


Background Color

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

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

This div background color is #312A48.


Border color

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

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

This div border color is #312A48.


Opacity

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

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

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

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

This text has shadow with #312A48 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #312A48 on black background.


Color preview on white background

This text has color #312A48 on white background.



Black color preview on #312A48 background

This text has black color on #312A48 background.


White color preview on #312A48 background

This text has white color on #312A48 background.