COLOR #311959

HEX: #311959
RGB: (49,25,89)

Color info

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

RGB color model

#311959 color RGB value is (49,25,89).

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

RGB channels and saturation

R 49 of 255 = 19%
G 25 of 255 = 10%
B 89 of 255 = 35%

49
25
89

R + G + B ~ 21%. #311959 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 25 + 89 = 163 (100%)
R 49 of 163 ~ 30.06%
G 25 of 163 ~ 15.34%
B 89 of 163 ~ 54.6%

%30.06
%15.34
%54.6

CMYK color model

#311959 color CMYK value is (45,72,0,65).

  • cyan value is 44.94%
  • magenta value is 71.91%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK:
(45,72,0,65)
C45M72Y0K65 
(45%,72%,0%,65%)
(0.45/0.72/0.00/0.65)	

CMYK percentages

%44.94
%71.91
%0
%65.1

Codes

Color #311959 in popluar color models

311959
RGB492589
HSL263°56.14%22.35%
HSB/HSV263°71.91%34.90%
CMYK44.94%71.91%0.00%
65.10%

Color #311959 in popluar number systems.

HEX311959
Decimal492589
Binary110001110011011001
Octal6131131

Shades and tints

Shades of #311959

#311959
(49,25,89)
#2D1751
(45,23,81)
#291549
(41,21,73)
#251341
(37,19,65)
#211139
(33,17,57)
#1D0F31
(29,15,49)
#190D29
(25,13,41)
#150B21
(21,11,33)
#110919
(17,9,25)
#0D0711
(13,7,17)
#090509
(9,5,9)
#000000
(0,0,0)

Tints of #311959

#311959
(49,25,89)
#432D68
(67,45,104)
#554177
(85,65,119)
#675586
(103,85,134)
#796995
(121,105,149)
#8B7DA4
(139,125,164)
#9D91B3
(157,145,179)
#AFA5C2
(175,165,194)
#C1B9D1
(193,185,209)
#D3CDE0
(211,205,224)
#E5E1EF
(229,225,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311959; }

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

This text font color is #311959.


Background Color

.myBgColor { background-color: #311959; }

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

This div background color is #311959.


Border color

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

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

This div border color is #311959.


Opacity

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

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

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

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

This text has shadow with #311959 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311959 on black background.


Color preview on white background

This text has color #311959 on white background.



Black color preview on #311959 background

This text has black color on #311959 background.


White color preview on #311959 background

This text has white color on #311959 background.