COLOR #313172

HEX: #313172
RGB: (49,49,114)

Color info

#313172 contains mainly blue color. Web safe color of #313172 is #333366 (or #336).

RGB color model

#313172 color RGB value is (49,49,114).

  • red value is 49;
  • green value is 49;
  • blue value is 114.
RGB:
(49,49,114)
(19%,19%,45%)

RGB channels and saturation

R 49 of 255 = 19%
G 49 of 255 = 19%
B 114 of 255 = 45%

49
49
114

R + G + B ~ 28%. #313172 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 49 + 114 = 212 (100%)
R 49 of 212 ~ 23.11%
G 49 of 212 ~ 23.11%
B 114 of 212 ~ 53.77%

%23.11
%23.11
%53.77

CMYK color model

#313172 color CMYK value is (57,57,0,55).

  • cyan value is 57.02%
  • magenta value is 57.02%
  • yellow value is 0.00%
  • key color value is 55.29%
CMYK:
(57,57,0,55)
C57M57Y0K55 
(57%,57%,0%,55%)
(0.57/0.57/0.00/0.55)	

CMYK percentages

%57.02
%57.02
%0
%55.29

Codes

Color #313172 in popluar color models

313172
RGB4949114
HSL240°39.88%31.96%
HSB/HSV240°57.02%44.71%
CMYK57.02%57.02%0.00%
55.29%

Color #313172 in popluar number systems.

HEX313172
Decimal4949114
Binary1100011100011110010
Octal6161162

Shades and tints

Shades of #313172

#313172
(49,49,114)
#2D2D68
(45,45,104)
#29295E
(41,41,94)
#252554
(37,37,84)
#21214A
(33,33,74)
#1D1D40
(29,29,64)
#191936
(25,25,54)
#15152C
(21,21,44)
#111122
(17,17,34)
#0D0D18
(13,13,24)
#09090E
(9,9,14)
#000000
(0,0,0)

Tints of #313172

#313172
(49,49,114)
#43437E
(67,67,126)
#55558A
(85,85,138)
#676796
(103,103,150)
#7979A2
(121,121,162)
#8B8BAE
(139,139,174)
#9D9DBA
(157,157,186)
#AFAFC6
(175,175,198)
#C1C1D2
(193,193,210)
#D3D3DE
(211,211,222)
#E5E5EA
(229,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #313172; }

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

This text font color is #313172.


Background Color

.myBgColor { background-color: #313172; }

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

This div background color is #313172.


Border color

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

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

This div border color is #313172.


Opacity

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

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

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

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

This text has shadow with #313172 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #313172 on black background.


Color preview on white background

This text has color #313172 on white background.



Black color preview on #313172 background

This text has black color on #313172 background.


White color preview on #313172 background

This text has white color on #313172 background.