COLOR #311B40

HEX: #311B40
RGB: (49,27,64)

Color info

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

RGB color model

#311B40 color RGB value is (49,27,64).

  • red value is 49;
  • green value is 27;
  • blue value is 64.
RGB:
(49,27,64)
(19%,11%,25%)

RGB channels and saturation

R 49 of 255 = 19%
G 27 of 255 = 11%
B 64 of 255 = 25%

49
27
64

R + G + B ~ 18%. #311B40 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 27 + 64 = 140 (100%)
R 49 of 140 ~ 35%
G 27 of 140 ~ 19.29%
B 64 of 140 ~ 45.71%

%35
%19.29
%45.71

CMYK color model

#311B40 color CMYK value is (23,58,0,75).

  • cyan value is 23.44%
  • magenta value is 57.81%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(23,58,0,75)
C23M58Y0K75 
(23%,58%,0%,75%)
(0.23/0.58/0.00/0.75)	

CMYK percentages

%23.44
%57.81
%0
%74.9

Codes

Color #311B40 in popluar color models

311B40
RGB492764
HSL276°40.66%17.84%
HSB/HSV276°57.81%25.10%
CMYK23.44%57.81%0.00%
74.90%

Color #311B40 in popluar number systems.

HEX311B40
Decimal492764
Binary110001110111000000
Octal6133100

Shades and tints

Shades of #311B40

#311B40
(49,27,64)
#2D193B
(45,25,59)
#291736
(41,23,54)
#251531
(37,21,49)
#21132C
(33,19,44)
#1D1127
(29,17,39)
#190F22
(25,15,34)
#150D1D
(21,13,29)
#110B18
(17,11,24)
#0D0913
(13,9,19)
#09070E
(9,7,14)
#000000
(0,0,0)

Tints of #311B40

#311B40
(49,27,64)
#432F51
(67,47,81)
#554362
(85,67,98)
#675773
(103,87,115)
#796B84
(121,107,132)
#8B7F95
(139,127,149)
#9D93A6
(157,147,166)
#AFA7B7
(175,167,183)
#C1BBC8
(193,187,200)
#D3CFD9
(211,207,217)
#E5E3EA
(229,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311B40 color. Also use rgb(49,27,64) instead hex code.

Text Font Color

.myTextColor { color: #311B40; }

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

This text font color is #311B40.


Background Color

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

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

This div background color is #311B40.


Border color

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

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

This div border color is #311B40.


Opacity

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

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

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

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

This text has shadow with #311B40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311B40 on black background.


Color preview on white background

This text has color #311B40 on white background.



Black color preview on #311B40 background

This text has black color on #311B40 background.


White color preview on #311B40 background

This text has white color on #311B40 background.