COLOR #311F61

HEX: #311F61
RGB: (49,31,97)

Color info

#311F61 contains mainly red and blue colors. Web safe color of #311F61 is #333366 (or #336).

RGB color model

#311F61 color RGB value is (49,31,97).

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

RGB channels and saturation

R 49 of 255 = 19%
G 31 of 255 = 12%
B 97 of 255 = 38%

49
31
97

R + G + B ~ 23%. #311F61 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 31 + 97 = 177 (100%)
R 49 of 177 ~ 27.68%
G 31 of 177 ~ 17.51%
B 97 of 177 ~ 54.8%

%27.68
%17.51
%54.8

CMYK color model

#311F61 color CMYK value is (49,68,0,62).

  • cyan value is 49.48%
  • magenta value is 68.04%
  • yellow value is 0.00%
  • key color value is 61.96%
CMYK:
(49,68,0,62)
C49M68Y0K62 
(49%,68%,0%,62%)
(0.49/0.68/0.00/0.62)	

CMYK percentages

%49.48
%68.04
%0
%61.96

Codes

Color #311F61 in popluar color models

311F61
RGB493197
HSL256°51.56%25.10%
HSB/HSV256°68.04%38.04%
CMYK49.48%68.04%0.00%
61.96%

Color #311F61 in popluar number systems.

HEX311F61
Decimal493197
Binary110001111111100001
Octal6137141

Shades and tints

Shades of #311F61

#311F61
(49,31,97)
#2D1D59
(45,29,89)
#291B51
(41,27,81)
#251949
(37,25,73)
#211741
(33,23,65)
#1D1539
(29,21,57)
#191331
(25,19,49)
#151129
(21,17,41)
#110F21
(17,15,33)
#0D0D19
(13,13,25)
#090B11
(9,11,17)
#000000
(0,0,0)

Tints of #311F61

#311F61
(49,31,97)
#43336F
(67,51,111)
#55477D
(85,71,125)
#675B8B
(103,91,139)
#796F99
(121,111,153)
#8B83A7
(139,131,167)
#9D97B5
(157,151,181)
#AFABC3
(175,171,195)
#C1BFD1
(193,191,209)
#D3D3DF
(211,211,223)
#E5E7ED
(229,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311F61; }

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

This text font color is #311F61.


Background Color

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

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

This div background color is #311F61.


Border color

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

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

This div border color is #311F61.


Opacity

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

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

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

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

This text has shadow with #311F61 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311F61 on black background.


Color preview on white background

This text has color #311F61 on white background.



Black color preview on #311F61 background

This text has black color on #311F61 background.


White color preview on #311F61 background

This text has white color on #311F61 background.