COLOR #331E49

HEX: #331E49
RGB: (51,30,73)

Color info

#331E49 contains red, green and blue colors in about the same proportion. Web safe color of #331E49 is #333333 (or #333).

RGB color model

#331E49 color RGB value is (51,30,73).

  • red value is 51;
  • green value is 30;
  • blue value is 73.
RGB:
(51,30,73)
(20%,12%,29%)

RGB channels and saturation

R 51 of 255 = 20%
G 30 of 255 = 12%
B 73 of 255 = 29%

51
30
73

R + G + B ~ 20%. #331E49 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 30 + 73 = 154 (100%)
R 51 of 154 ~ 33.12%
G 30 of 154 ~ 19.48%
B 73 of 154 ~ 47.4%

%33.12
%19.48
%47.4

CMYK color model

#331E49 color CMYK value is (30,59,0,71).

  • cyan value is 30.14%
  • magenta value is 58.90%
  • yellow value is 0.00%
  • key color value is 71.37%
CMYK:
(30,59,0,71)
C30M59Y0K71 
(30%,59%,0%,71%)
(0.30/0.59/0.00/0.71)	

CMYK percentages

%30.14
%58.9
%0
%71.37

Codes

Color #331E49 in popluar color models

331E49
RGB513073
HSL269°41.75%20.20%
HSB/HSV269°58.90%28.63%
CMYK30.14%58.90%0.00%
71.37%

Color #331E49 in popluar number systems.

HEX331E49
Decimal513073
Binary110011111101001001
Octal6336111

Shades and tints

Shades of #331E49

#331E49
(51,30,73)
#2F1C43
(47,28,67)
#2B1A3D
(43,26,61)
#271837
(39,24,55)
#231631
(35,22,49)
#1F142B
(31,20,43)
#1B1225
(27,18,37)
#17101F
(23,16,31)
#130E19
(19,14,25)
#0F0C13
(15,12,19)
#0B0A0D
(11,10,13)
#000000
(0,0,0)

Tints of #331E49

#331E49
(51,30,73)
#453259
(69,50,89)
#574669
(87,70,105)
#695A79
(105,90,121)
#7B6E89
(123,110,137)
#8D8299
(141,130,153)
#9F96A9
(159,150,169)
#B1AAB9
(177,170,185)
#C3BEC9
(195,190,201)
#D5D2D9
(213,210,217)
#E7E6E9
(231,230,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331E49; }

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

This text font color is #331E49.


Background Color

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

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

This div background color is #331E49.


Border color

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

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

This div border color is #331E49.


Opacity

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

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

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

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

This text has shadow with #331E49 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331E49 on black background.


Color preview on white background

This text has color #331E49 on white background.



Black color preview on #331E49 background

This text has black color on #331E49 background.


White color preview on #331E49 background

This text has white color on #331E49 background.