COLOR #311D4D

HEX: #311D4D
RGB: (49,29,77)

Color info

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

RGB color model

#311D4D color RGB value is (49,29,77).

  • red value is 49;
  • green value is 29;
  • blue value is 77.
RGB:
(49,29,77)
(19%,11%,30%)

RGB channels and saturation

R 49 of 255 = 19%
G 29 of 255 = 11%
B 77 of 255 = 30%

49
29
77

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

Portions of RGB colors in percentages

R + G + B =
49 + 29 + 77 = 155 (100%)
R 49 of 155 ~ 31.61%
G 29 of 155 ~ 18.71%
B 77 of 155 ~ 49.68%

%31.61
%18.71
%49.68

CMYK color model

#311D4D color CMYK value is (36,62,0,70).

  • cyan value is 36.36%
  • magenta value is 62.34%
  • yellow value is 0.00%
  • key color value is 69.80%
CMYK:
(36,62,0,70)
C36M62Y0K70 
(36%,62%,0%,70%)
(0.36/0.62/0.00/0.70)	

CMYK percentages

%36.36
%62.34
%0
%69.8

Codes

Color #311D4D in popluar color models

311D4D
RGB492977
HSL265°45.28%20.78%
HSB/HSV265°62.34%30.20%
CMYK36.36%62.34%0.00%
69.80%

Color #311D4D in popluar number systems.

HEX311D4D
Decimal492977
Binary110001111011001101
Octal6135115

Shades and tints

Shades of #311D4D

#311D4D
(49,29,77)
#2D1B46
(45,27,70)
#29193F
(41,25,63)
#251738
(37,23,56)
#211531
(33,21,49)
#1D132A
(29,19,42)
#191123
(25,17,35)
#150F1C
(21,15,28)
#110D15
(17,13,21)
#0D0B0E
(13,11,14)
#090907
(9,9,7)
#000000
(0,0,0)

Tints of #311D4D

#311D4D
(49,29,77)
#43315D
(67,49,93)
#55456D
(85,69,109)
#67597D
(103,89,125)
#796D8D
(121,109,141)
#8B819D
(139,129,157)
#9D95AD
(157,149,173)
#AFA9BD
(175,169,189)
#C1BDCD
(193,189,205)
#D3D1DD
(211,209,221)
#E5E5ED
(229,229,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311D4D color. Also use rgb(49,29,77) instead hex code.

Text Font Color

.myTextColor { color: #311D4D; }

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

This text font color is #311D4D.


Background Color

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

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

This div background color is #311D4D.


Border color

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

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

This div border color is #311D4D.


Opacity

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

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

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

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

This text has shadow with #311D4D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311D4D on black background.


Color preview on white background

This text has color #311D4D on white background.



Black color preview on #311D4D background

This text has black color on #311D4D background.


White color preview on #311D4D background

This text has white color on #311D4D background.