COLOR #331E4B

HEX: #331E4B
RGB: (51,30,75)

Color info

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

RGB color model

#331E4B color RGB value is (51,30,75).

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

RGB channels and saturation

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

51
30
75

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

Portions of RGB colors in percentages

R + G + B =
51 + 30 + 75 = 156 (100%)
R 51 of 156 ~ 32.69%
G 30 of 156 ~ 19.23%
B 75 of 156 ~ 48.08%

%32.69
%19.23
%48.08

CMYK color model

#331E4B color CMYK value is (32,60,0,71).

  • cyan value is 32.00%
  • magenta value is 60.00%
  • yellow value is 0.00%
  • key color value is 70.59%
CMYK:
(32,60,0,71)
C32M60Y0K71 
(32%,60%,0%,71%)
(0.32/0.60/0.00/0.71)	

CMYK percentages

%32
%60
%0
%70.59

Codes

Color #331E4B in popluar color models

331E4B
RGB513075
HSL268°42.86%20.59%
HSB/HSV268°60.00%29.41%
CMYK32.00%60.00%0.00%
70.59%

Color #331E4B in popluar number systems.

HEX331E4B
Decimal513075
Binary110011111101001011
Octal6336113

Shades and tints

Shades of #331E4B

#331E4B
(51,30,75)
#2F1C45
(47,28,69)
#2B1A3F
(43,26,63)
#271839
(39,24,57)
#231633
(35,22,51)
#1F142D
(31,20,45)
#1B1227
(27,18,39)
#171021
(23,16,33)
#130E1B
(19,14,27)
#0F0C15
(15,12,21)
#0B0A0F
(11,10,15)
#000000
(0,0,0)

Tints of #331E4B

#331E4B
(51,30,75)
#45325B
(69,50,91)
#57466B
(87,70,107)
#695A7B
(105,90,123)
#7B6E8B
(123,110,139)
#8D829B
(141,130,155)
#9F96AB
(159,150,171)
#B1AABB
(177,170,187)
#C3BECB
(195,190,203)
#D5D2DB
(213,210,219)
#E7E6EB
(231,230,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331E4B; }

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

This text font color is #331E4B.


Background Color

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

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

This div background color is #331E4B.


Border color

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

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

This div border color is #331E4B.


Opacity

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

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

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

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

This text has shadow with #331E4B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331E4B on black background.


Color preview on white background

This text has color #331E4B on white background.



Black color preview on #331E4B background

This text has black color on #331E4B background.


White color preview on #331E4B background

This text has white color on #331E4B background.