COLOR #331E5F

HEX: #331E5F RGB: (51,30,95)

Color info

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

RGB color model

#331E5F color RGB value is (51,30,95).

RGB: (51,30,95) (20%, 12%, 37%)

RGB channels and saturation

R 51 of 255 = 20%
G 30 of 255 = 12%
B 95 of 255 = 37%

51
30
95

R + G + B ~ 23%. #331E5F is dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 30 + 95 = 176 (100%)
R 51 of 176 ~ 28.98%
G 30 of 176 ~ 17.05%
B 95 of 176 ~ 53.98'%

%28.98
%17.05
%53.98

CMYK color model

#331E5F color CMYK value is (46,68,0,63).

  • cyan value is 46.32%
  • magenta value is 68.42%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK: (46,68,0,63) C46M68Y0K63 (46%,68%,0%,63%) (0.46/0.68/0.00/0.63) 

CMYK percentages

%46.32
%68.42
%0
%62.75

Codes

Color #331E5F in popluar color models

33 1E 5F
RGB 51 30 95
HSL 259° 52.00% 24.51%
HSB/HSV 259° 68.42% 37.25%
CMYK 46.32% 68.42% 0.00%
62.75%

Color #331E5F in popluar number systems.

HEX 33 1E 5F
Decimal 51 30 95
Binary 110011 11110 1011111
Octal 63 36 137

Shades and tints

Shades of #331E5F

#331E5F
(51,30,95)
#2F1C57
(47,28,87)
#2B1A4F
(43,26,79)
#271847
(39,24,71)
#23163F
(35,22,63)
#1F1437
(31,20,55)
#1B122F
(27,18,47)
#171027
(23,16,39)
#130E1F
(19,14,31)
#0F0C17
(15,12,23)
#0B0A0F
(11,10,15)
#000000
(0,0,0)

Tints of #331E5F

#331E5F
(51,30,95)
#45326D
(69,50,109)
#57467B
(87,70,123)
#695A89
(105,90,137)
#7B6E97
(123,110,151)
#8D82A5
(141,130,165)
#9F96B3
(159,150,179)
#B1AAC1
(177,170,193)
#C3BECF
(195,190,207)
#D5D2DD
(213,210,221)
#E7E6EB
(231,230,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331E5F color. Also use rgb(51,30,95) instead hex code.

Text Font Color

.myTextColor { color: #331E5F; }

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

This text font color is #331E5F.

Background Color

.myBgColor { background-color: #331E5F; }

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

This div background color is #331E5F.

Border color

.myBorderColor { border: 1px solid #331E5F; }

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

This div border color is #331E5F.

Opacity

.myOpacity80 { color: #331E5F; opacity: 0.8; }

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

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

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

This text has shadow with #331E5F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331E5F.

Preview

Color preview on black background

This text has color #331E5F on black background.


Color preview on white background

This text has color #331E5F on white background.


Black color preview on #331E5F background

This text has black color on #331E5F background.


White color preview on #331E5F background

This text has white color on #331E5F background.


Related colors

Complementary color

Complementary color for #hex is #CCE1A0.


I love getcolorcode.com

Triadic colors

1 #5F331E and #1E5F33 with #331E5F are triadic colors.

2 #5F1E33 and #1E335F with #331E5F are triadic colors.