COLOR #311960

HEX: #311960
RGB: (49,25,96)

Color info

#311960 contains mainly red and blue colors. Web safe color of #311960 is #330066 (or #306).

RGB color model

#311960 color RGB value is (49,25,96).

  • red value is 49;
  • green value is 25;
  • blue value is 96.
RGB:
(49,25,96)
(19%,10%,38%)

RGB channels and saturation

R 49 of 255 = 19%
G 25 of 255 = 10%
B 96 of 255 = 38%

49
25
96

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

Portions of RGB colors in percentages

R + G + B =
49 + 25 + 96 = 170 (100%)
R 49 of 170 ~ 28.82%
G 25 of 170 ~ 14.71%
B 96 of 170 ~ 56.47%

%28.82
%14.71
%56.47

CMYK color model

#311960 color CMYK value is (49,74,0,62).

  • cyan value is 48.96%
  • magenta value is 73.96%
  • yellow value is 0.00%
  • key color value is 62.35%
CMYK:
(49,74,0,62)
C49M74Y0K62 
(49%,74%,0%,62%)
(0.49/0.74/0.00/0.62)	

CMYK percentages

%48.96
%73.96
%0
%62.35

Codes

Color #311960 in popluar color models

311960
RGB492596
HSL260°58.68%23.73%
HSB/HSV260°73.96%37.65%
CMYK48.96%73.96%0.00%
62.35%

Color #311960 in popluar number systems.

HEX311960
Decimal492596
Binary110001110011100000
Octal6131140

Shades and tints

Shades of #311960

#311960
(49,25,96)
#2D1758
(45,23,88)
#291550
(41,21,80)
#251348
(37,19,72)
#211140
(33,17,64)
#1D0F38
(29,15,56)
#190D30
(25,13,48)
#150B28
(21,11,40)
#110920
(17,9,32)
#0D0718
(13,7,24)
#090510
(9,5,16)
#000000
(0,0,0)

Tints of #311960

#311960
(49,25,96)
#432D6E
(67,45,110)
#55417C
(85,65,124)
#67558A
(103,85,138)
#796998
(121,105,152)
#8B7DA6
(139,125,166)
#9D91B4
(157,145,180)
#AFA5C2
(175,165,194)
#C1B9D0
(193,185,208)
#D3CDDE
(211,205,222)
#E5E1EC
(229,225,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311960; }

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

This text font color is #311960.


Background Color

.myBgColor { background-color: #311960; }

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

This div background color is #311960.


Border color

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

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

This div border color is #311960.


Opacity

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

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

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

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

This text has shadow with #311960 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311960 on black background.


Color preview on white background

This text has color #311960 on white background.



Black color preview on #311960 background

This text has black color on #311960 background.


White color preview on #311960 background

This text has white color on #311960 background.