COLOR #331E51

HEX: #331E51 RGB: (51,30,81)

Color info

#331E51 contains red, green and blue colors in about the same proportion. Web safe color of #331E51 is #333366 (or #336).

RGB color model

#331E51 color RGB value is (51,30,81).

RGB: (51,30,81) (20%, 12%, 32%)

RGB channels and saturation

R 51 of 255 = 20%
G 30 of 255 = 12%
B 81 of 255 = 32%

51
30
81

R + G + B ~ 21%. #331E51 is dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 30 + 81 = 162 (100%)
R 51 of 162 ~ 31.48%
G 30 of 162 ~ 18.52%
B 81 of 162 ~ 50'%

%31.48
%18.52
%50

CMYK color model

#331E51 color CMYK value is (37,63,0,68).

  • cyan value is 37.04%
  • magenta value is 62.96%
  • yellow value is 0.00%
  • key color value is 68.24%

CMYK: (37,63,0,68)
C37M63Y0K68 (37%, 63%, 0%, 68%)
(0.37 / 0.63 / 0.00 / 0.68)

CMYK percentages

%37.04
%62.96
%0
%68.24

Codes

Color #331E51 in popluar color models

33 1E 51
RGB 51 30 81
HSL 265° 45.95% 21.76%
HSB/HSV 265° 62.96% 31.76%
CMYK 37.04% 62.96% 0.00%
68.24%

Color #331E51 in popluar number systems.

HEX 33 1E 51
Decimal 51 30 81
Binary 110011 11110 1010001
Octal 63 36 121

Shades and tints

Shades of #331E51

#331E51
(51,30,81)
#2F1C4A
(47,28,74)
#2B1A43
(43,26,67)
#27183C
(39,24,60)
#231635
(35,22,53)
#1F142E
(31,20,46)
#1B1227
(27,18,39)
#171020
(23,16,32)
#130E19
(19,14,25)
#0F0C12
(15,12,18)
#0B0A0B
(11,10,11)
#000000
(0,0,0)

Tints of #331E51

#331E51
(51,30,81)
#453260
(69,50,96)
#57466F
(87,70,111)
#695A7E
(105,90,126)
#7B6E8D
(123,110,141)
#8D829C
(141,130,156)
#9F96AB
(159,150,171)
#B1AABA
(177,170,186)
#C3BEC9
(195,190,201)
#D5D2D8
(213,210,216)
#E7E6E7
(231,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331E51; }

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

This text font color is #331E51.

Background Color

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

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

This div background color is #331E51.

Border color

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

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

This div border color is #331E51.

Opacity

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

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

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

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

This text has shadow with #331E51 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331E51.

Preview

Color preview on black background

This text has color #331E51 on black background.


Color preview on white background

This text has color #331E51 on white background.


Black color preview on #331E51 background

This text has black color on #331E51 background.


White color preview on #331E51 background

This text has white color on #331E51 background.


Related colors

Complementary color

Complementary color for #hex is #CCE1AE.


I love getcolorcode.com

Triadic colors

1 #51331E and #1E5133 with #331E51 are triadic colors.

2 #511E33 and #1E3351 with #331E51 are triadic colors.