COLOR #331588

HEX: #331588
RGB: (51,21,136)

Color info

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

RGB color model

#331588 color RGB value is (51,21,136).

  • red value is 51;
  • green value is 21;
  • blue value is 136.
RGB:
(51,21,136)
(20%,8%,53%)

RGB channels and saturation

R 51 of 255 = 20%
G 21 of 255 = 8%
B 136 of 255 = 53%

51
21
136

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

Portions of RGB colors in percentages

R + G + B =
51 + 21 + 136 = 208 (100%)
R 51 of 208 ~ 24.52%
G 21 of 208 ~ 10.1%
B 136 of 208 ~ 65.38%

%24.52
%10.1
%65.38

CMYK color model

#331588 color CMYK value is (63,85,0,47).

  • cyan value is 62.50%
  • magenta value is 84.56%
  • yellow value is 0.00%
  • key color value is 46.67%
CMYK:
(63,85,0,47)
C63M85Y0K47 
(63%,85%,0%,47%)
(0.63/0.85/0.00/0.47)	

CMYK percentages

%62.5
%84.56
%0
%46.67

Codes

Color #331588 in popluar color models

331588
RGB5121136
HSL256°73.25%30.78%
HSB/HSV256°84.56%53.33%
CMYK62.50%84.56%0.00%
46.67%

Color #331588 in popluar number systems.

HEX331588
Decimal5121136
Binary1100111010110001000
Octal6325210

Shades and tints

Shades of #331588

#331588
(51,21,136)
#2F147C
(47,20,124)
#2B1370
(43,19,112)
#271264
(39,18,100)
#231158
(35,17,88)
#1F104C
(31,16,76)
#1B0F40
(27,15,64)
#170E34
(23,14,52)
#130D28
(19,13,40)
#0F0C1C
(15,12,28)
#0B0B10
(11,11,16)
#000000
(0,0,0)

Tints of #331588

#331588
(51,21,136)
#452A92
(69,42,146)
#573F9C
(87,63,156)
#6954A6
(105,84,166)
#7B69B0
(123,105,176)
#8D7EBA
(141,126,186)
#9F93C4
(159,147,196)
#B1A8CE
(177,168,206)
#C3BDD8
(195,189,216)
#D5D2E2
(213,210,226)
#E7E7EC
(231,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331588 color. Also use rgb(51,21,136) instead hex code.

Text Font Color

.myTextColor { color: #331588; }

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

This text font color is #331588.


Background Color

.myBgColor { background-color: #331588; }

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

This div background color is #331588.


Border color

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

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

This div border color is #331588.


Opacity

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

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

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

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

This text has shadow with #331588 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331588 on black background.


Color preview on white background

This text has color #331588 on white background.



Black color preview on #331588 background

This text has black color on #331588 background.


White color preview on #331588 background

This text has white color on #331588 background.