COLOR #313147

HEX: #313147
RGB: (49,49,71)

Color info

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

RGB color model

#313147 color RGB value is (49,49,71).

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

RGB channels and saturation

R 49 of 255 = 19%
G 49 of 255 = 19%
B 71 of 255 = 28%

49
49
71

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

Portions of RGB colors in percentages

R + G + B =
49 + 49 + 71 = 169 (100%)
R 49 of 169 ~ 28.99%
G 49 of 169 ~ 28.99%
B 71 of 169 ~ 42.01%

%28.99
%28.99
%42.01

CMYK color model

#313147 color CMYK value is (31,31,0,72).

  • cyan value is 30.99%
  • magenta value is 30.99%
  • yellow value is 0.00%
  • key color value is 72.16%
CMYK:
(31,31,0,72)
C31M31Y0K72 
(31%,31%,0%,72%)
(0.31/0.31/0.00/0.72)	

CMYK percentages

%30.99
%30.99
%0
%72.16

Codes

Color #313147 in popluar color models

313147
RGB494971
HSL240°18.33%23.53%
HSB/HSV240°30.99%27.84%
CMYK30.99%30.99%0.00%
72.16%

Color #313147 in popluar number systems.

HEX313147
Decimal494971
Binary1100011100011000111
Octal6161107

Shades and tints

Shades of #313147

#313147
(49,49,71)
#2D2D41
(45,45,65)
#29293B
(41,41,59)
#252535
(37,37,53)
#21212F
(33,33,47)
#1D1D29
(29,29,41)
#191923
(25,25,35)
#15151D
(21,21,29)
#111117
(17,17,23)
#0D0D11
(13,13,17)
#09090B
(9,9,11)
#000000
(0,0,0)

Tints of #313147

#313147
(49,49,71)
#434357
(67,67,87)
#555567
(85,85,103)
#676777
(103,103,119)
#797987
(121,121,135)
#8B8B97
(139,139,151)
#9D9DA7
(157,157,167)
#AFAFB7
(175,175,183)
#C1C1C7
(193,193,199)
#D3D3D7
(211,211,215)
#E5E5E7
(229,229,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #313147; }

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

This text font color is #313147.


Background Color

.myBgColor { background-color: #313147; }

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

This div background color is #313147.


Border color

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

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

This div border color is #313147.


Opacity

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

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

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

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

This text has shadow with #313147 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #313147 on black background.


Color preview on white background

This text has color #313147 on white background.



Black color preview on #313147 background

This text has black color on #313147 background.


White color preview on #313147 background

This text has white color on #313147 background.