COLOR #31338C

HEX: #31338C
RGB: (49,51,140)

Color info

#31338C contains mainly blue color. Web safe color of #31338C is #333399 (or #339).

RGB color model

#31338C color RGB value is (49,51,140).

  • red value is 49;
  • green value is 51;
  • blue value is 140.
RGB:
(49,51,140)
(19%,20%,55%)

RGB channels and saturation

R 49 of 255 = 19%
G 51 of 255 = 20%
B 140 of 255 = 55%

49
51
140

R + G + B ~ 31%. #31338C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 51 + 140 = 240 (100%)
R 49 of 240 ~ 20.42%
G 51 of 240 ~ 21.25%
B 140 of 240 ~ 58.33%

%20.42
%21.25
%58.33

CMYK color model

#31338C color CMYK value is (65,64,0,45).

  • cyan value is 65.00%
  • magenta value is 63.57%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(65,64,0,45)
C65M64Y0K45 
(65%,64%,0%,45%)
(0.65/0.64/0.00/0.45)	

CMYK percentages

%65
%63.57
%0
%45.1

Codes

Color #31338C in popluar color models

31338C
RGB4951140
HSL239°48.15%37.06%
HSB/HSV239°65.00%54.90%
CMYK65.00%63.57%0.00%
45.10%

Color #31338C in popluar number systems.

HEX31338C
Decimal4951140
Binary11000111001110001100
Octal6163214

Shades and tints

Shades of #31338C

#31338C
(49,51,140)
#2D2F80
(45,47,128)
#292B74
(41,43,116)
#252768
(37,39,104)
#21235C
(33,35,92)
#1D1F50
(29,31,80)
#191B44
(25,27,68)
#151738
(21,23,56)
#11132C
(17,19,44)
#0D0F20
(13,15,32)
#090B14
(9,11,20)
#000000
(0,0,0)

Tints of #31338C

#31338C
(49,51,140)
#434596
(67,69,150)
#5557A0
(85,87,160)
#6769AA
(103,105,170)
#797BB4
(121,123,180)
#8B8DBE
(139,141,190)
#9D9FC8
(157,159,200)
#AFB1D2
(175,177,210)
#C1C3DC
(193,195,220)
#D3D5E6
(211,213,230)
#E5E7F0
(229,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31338C color. Also use rgb(49,51,140) instead hex code.

Text Font Color

.myTextColor { color: #31338C; }

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

This text font color is #31338C.


Background Color

.myBgColor { background-color: #31338C; }

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

This div background color is #31338C.


Border color

.myBorderColor { border: 1px solid #31338C; }

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

This div border color is #31338C.


Opacity

.myOpacity80 { color: #31338C; opacity: 0.8; }

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

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

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

This text has shadow with #31338C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31338C on black background.


Color preview on white background

This text has color #31338C on white background.



Black color preview on #31338C background

This text has black color on #31338C background.


White color preview on #31338C background

This text has white color on #31338C background.