COLOR #310598

HEX: #310598
RGB: (49,5,152)

Color info

#310598 contains mainly blue color. Web safe color of #310598 is #330099 (or #309).

RGB color model

#310598 color RGB value is (49,5,152).

  • red value is 49;
  • green value is 5;
  • blue value is 152.
RGB:
(49,5,152)
(19%,2%,60%)

RGB channels and saturation

R 49 of 255 = 19%
G 5 of 255 = 2%
B 152 of 255 = 60%

49
5
152

R + G + B ~ 27%. #310598 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 5 + 152 = 206 (100%)
R 49 of 206 ~ 23.79%
G 5 of 206 ~ 2.43%
B 152 of 206 ~ 73.79%

%23.79
%73.79

CMYK color model

#310598 color CMYK value is (68,97,0,40).

  • cyan value is 67.76%
  • magenta value is 96.71%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(68,97,0,40)
C68M97Y0K40 
(68%,97%,0%,40%)
(0.68/0.97/0.00/0.40)	

CMYK percentages

%67.76
%96.71
%0
%40.39

Codes

Color #310598 in popluar color models

310598
RGB495152
HSL258°93.63%30.78%
HSB/HSV258°96.71%59.61%
CMYK67.76%96.71%0.00%
40.39%

Color #310598 in popluar number systems.

HEX310598
Decimal495152
Binary11000110110011000
Octal615230

Shades and tints

Shades of #310598

#310598
(49,5,152)
#2D058B
(45,5,139)
#29057E
(41,5,126)
#250571
(37,5,113)
#210564
(33,5,100)
#1D0557
(29,5,87)
#19054A
(25,5,74)
#15053D
(21,5,61)
#110530
(17,5,48)
#0D0523
(13,5,35)
#090516
(9,5,22)
#000000
(0,0,0)

Tints of #310598

#310598
(49,5,152)
#431BA1
(67,27,161)
#5531AA
(85,49,170)
#6747B3
(103,71,179)
#795DBC
(121,93,188)
#8B73C5
(139,115,197)
#9D89CE
(157,137,206)
#AF9FD7
(175,159,215)
#C1B5E0
(193,181,224)
#D3CBE9
(211,203,233)
#E5E1F2
(229,225,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #310598 color. Also use rgb(49,5,152) instead hex code.

Text Font Color

.myTextColor { color: #310598; }

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

This text font color is #310598.


Background Color

.myBgColor { background-color: #310598; }

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

This div background color is #310598.


Border color

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

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

This div border color is #310598.


Opacity

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

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

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

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

This text has shadow with #310598 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #310598 on black background.


Color preview on white background

This text has color #310598 on white background.



Black color preview on #310598 background

This text has black color on #310598 background.


White color preview on #310598 background

This text has white color on #310598 background.