COLOR #311E47

HEX: #311E47
RGB: (49,30,71)

Color info

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

RGB color model

#311E47 color RGB value is (49,30,71).

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

RGB channels and saturation

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

49
30
71

R + G + B ~ 20%. #311E47 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 30 + 71 = 150 (100%)
R 49 of 150 ~ 32.67%
G 30 of 150 ~ 20%
B 71 of 150 ~ 47.33%

%32.67
%20
%47.33

CMYK color model

#311E47 color CMYK value is (31,58,0,72).

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

CMYK percentages

%30.99
%57.75
%0
%72.16

Codes

Color #311E47 in popluar color models

311E47
RGB493071
HSL268°40.59%19.80%
HSB/HSV268°57.75%27.84%
CMYK30.99%57.75%0.00%
72.16%

Color #311E47 in popluar number systems.

HEX311E47
Decimal493071
Binary110001111101000111
Octal6136107

Shades and tints

Shades of #311E47

#311E47
(49,30,71)
#2D1C41
(45,28,65)
#291A3B
(41,26,59)
#251835
(37,24,53)
#21162F
(33,22,47)
#1D1429
(29,20,41)
#191223
(25,18,35)
#15101D
(21,16,29)
#110E17
(17,14,23)
#0D0C11
(13,12,17)
#090A0B
(9,10,11)
#000000
(0,0,0)

Tints of #311E47

#311E47
(49,30,71)
#433257
(67,50,87)
#554667
(85,70,103)
#675A77
(103,90,119)
#796E87
(121,110,135)
#8B8297
(139,130,151)
#9D96A7
(157,150,167)
#AFAAB7
(175,170,183)
#C1BEC7
(193,190,199)
#D3D2D7
(211,210,215)
#E5E6E7
(229,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311E47; }

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

This text font color is #311E47.


Background Color

.myBgColor { background-color: #311E47; }

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

This div background color is #311E47.


Border color

.myBorderColor { border: 1px solid #311E47; }

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

This div border color is #311E47.


Opacity

.myOpacity80 { color: #311E47; opacity: 0.8; }

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

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

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

This text has shadow with #311E47 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311E47 on black background.


Color preview on white background

This text has color #311E47 on white background.



Black color preview on #311E47 background

This text has black color on #311E47 background.


White color preview on #311E47 background

This text has white color on #311E47 background.