COLOR #311661

HEX: #311661
RGB: (49,22,97)

Color info

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

RGB color model

#311661 color RGB value is (49,22,97).

  • red value is 49;
  • green value is 22;
  • blue value is 97.
RGB:
(49,22,97)
(19%,9%,38%)

RGB channels and saturation

R 49 of 255 = 19%
G 22 of 255 = 9%
B 97 of 255 = 38%

49
22
97

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

Portions of RGB colors in percentages

R + G + B =
49 + 22 + 97 = 168 (100%)
R 49 of 168 ~ 29.17%
G 22 of 168 ~ 13.1%
B 97 of 168 ~ 57.74%

%29.17
%13.1
%57.74

CMYK color model

#311661 color CMYK value is (49,77,0,62).

  • cyan value is 49.48%
  • magenta value is 77.32%
  • yellow value is 0.00%
  • key color value is 61.96%
CMYK:
(49,77,0,62)
C49M77Y0K62 
(49%,77%,0%,62%)
(0.49/0.77/0.00/0.62)	

CMYK percentages

%49.48
%77.32
%0
%61.96

Codes

Color #311661 in popluar color models

311661
RGB492297
HSL262°63.03%23.33%
HSB/HSV262°77.32%38.04%
CMYK49.48%77.32%0.00%
61.96%

Color #311661 in popluar number systems.

HEX311661
Decimal492297
Binary110001101101100001
Octal6126141

Shades and tints

Shades of #311661

#311661
(49,22,97)
#2D1459
(45,20,89)
#291251
(41,18,81)
#251049
(37,16,73)
#210E41
(33,14,65)
#1D0C39
(29,12,57)
#190A31
(25,10,49)
#150829
(21,8,41)
#110621
(17,6,33)
#0D0419
(13,4,25)
#090211
(9,2,17)
#000000
(0,0,0)

Tints of #311661

#311661
(49,22,97)
#432B6F
(67,43,111)
#55407D
(85,64,125)
#67558B
(103,85,139)
#796A99
(121,106,153)
#8B7FA7
(139,127,167)
#9D94B5
(157,148,181)
#AFA9C3
(175,169,195)
#C1BED1
(193,190,209)
#D3D3DF
(211,211,223)
#E5E8ED
(229,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311661 color. Also use rgb(49,22,97) instead hex code.

Text Font Color

.myTextColor { color: #311661; }

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

This text font color is #311661.


Background Color

.myBgColor { background-color: #311661; }

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

This div background color is #311661.


Border color

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

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

This div border color is #311661.


Opacity

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

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

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

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

This text has shadow with #311661 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311661 on black background.


Color preview on white background

This text has color #311661 on white background.



Black color preview on #311661 background

This text has black color on #311661 background.


White color preview on #311661 background

This text has white color on #311661 background.