COLOR #331788

HEX: #331788 RGB: (51,23,136)

Color info

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

RGB color model

#331788 color RGB value is (51,23,136).

RGB: (51,23,136) (20%, 9%, 53%)

RGB channels and saturation

R 51 of 255 = 20%
G 23 of 255 = 9%
B 136 of 255 = 53%

51
23
136

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

Portions of RGB colors in percentages

R + G + B = 51 + 23 + 136 = 210 (100%)
R 51 of 210 ~ 24.29%
G 23 of 210 ~ 10.95%
B 136 of 210 ~ 64.76'%

%24.29
%10.95
%64.76

CMYK color model

#331788 color CMYK value is (63,83,0,47).

  • cyan value is 62.50%
  • magenta value is 83.09%
  • yellow value is 0.00%
  • key color value is 46.67%

CMYK: (63,83,0,47)
C63M83Y0K47 (63%, 83%, 0%, 47%)
(0.63 / 0.83 / 0.00 / 0.47)

CMYK percentages

%62.5
%83.09
%0
%46.67

Codes

Color #331788 in popluar color models

33 17 88
RGB 51 23 136
HSL 255° 71.07% 31.18%
HSB/HSV 255° 83.09% 53.33%
CMYK 62.50% 83.09% 0.00%
46.67%

Color #331788 in popluar number systems.

HEX 33 17 88
Decimal 51 23 136
Binary 110011 10111 10001000
Octal 63 27 210

Shades and tints

Shades of #331788

#331788
(51,23,136)
#2F157C
(47,21,124)
#2B1370
(43,19,112)
#271164
(39,17,100)
#230F58
(35,15,88)
#1F0D4C
(31,13,76)
#1B0B40
(27,11,64)
#170934
(23,9,52)
#130728
(19,7,40)
#0F051C
(15,5,28)
#0B0310
(11,3,16)
#000000
(0,0,0)

Tints of #331788

#331788
(51,23,136)
#452C92
(69,44,146)
#57419C
(87,65,156)
#6956A6
(105,86,166)
#7B6BB0
(123,107,176)
#8D80BA
(141,128,186)
#9F95C4
(159,149,196)
#B1AACE
(177,170,206)
#C3BFD8
(195,191,216)
#D5D4E2
(213,212,226)
#E7E9EC
(231,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331788; }

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

This text font color is #331788.

Background Color

.myBgColor { background-color: #331788; }

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

This div background color is #331788.

Border color

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

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

This div border color is #331788.

Opacity

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

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

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

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

This text has shadow with #331788 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331788.

Preview

Color preview on black background

This text has color #331788 on black background.


Color preview on white background

This text has color #331788 on white background.


Black color preview on #331788 background

This text has black color on #331788 background.


White color preview on #331788 background

This text has white color on #331788 background.


Related colors

Complementary color

Complementary color for #hex is #CCE877.


I love getcolorcode.com

Triadic colors

1 #883317 and #178833 with #331788 are triadic colors.

2 #881733 and #173388 with #331788 are triadic colors.