COLOR #331E4D

HEX: #331E4D RGB: (51,30,77)

Color info

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

RGB color model

#331E4D color RGB value is (51,30,77).

RGB: (51,30,77) (20%, 12%, 30%)

RGB channels and saturation

R 51 of 255 = 20%
G 30 of 255 = 12%
B 77 of 255 = 30%

51
30
77

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

Portions of RGB colors in percentages

R + G + B = 51 + 30 + 77 = 158 (100%)
R 51 of 158 ~ 32.28%
G 30 of 158 ~ 18.99%
B 77 of 158 ~ 48.73'%

%32.28
%18.99
%48.73

CMYK color model

#331E4D color CMYK value is (34,61,0,70).

  • cyan value is 33.77%
  • magenta value is 61.04%
  • yellow value is 0.00%
  • key color value is 69.80%

CMYK: (34,61,0,70)
C34M61Y0K70 (34%, 61%, 0%, 70%)
(0.34 / 0.61 / 0.00 / 0.70)

CMYK percentages

%33.77
%61.04
%0
%69.8

Codes

Color #331E4D in popluar color models

33 1E 4D
RGB 51 30 77
HSL 267° 43.93% 20.98%
HSB/HSV 267° 61.04% 30.20%
CMYK 33.77% 61.04% 0.00%
69.80%

Color #331E4D in popluar number systems.

HEX 33 1E 4D
Decimal 51 30 77
Binary 110011 11110 1001101
Octal 63 36 115

Shades and tints

Shades of #331E4D

#331E4D
(51,30,77)
#2F1C46
(47,28,70)
#2B1A3F
(43,26,63)
#271838
(39,24,56)
#231631
(35,22,49)
#1F142A
(31,20,42)
#1B1223
(27,18,35)
#17101C
(23,16,28)
#130E15
(19,14,21)
#0F0C0E
(15,12,14)
#0B0A07
(11,10,7)
#000000
(0,0,0)

Tints of #331E4D

#331E4D
(51,30,77)
#45325D
(69,50,93)
#57466D
(87,70,109)
#695A7D
(105,90,125)
#7B6E8D
(123,110,141)
#8D829D
(141,130,157)
#9F96AD
(159,150,173)
#B1AABD
(177,170,189)
#C3BECD
(195,190,205)
#D5D2DD
(213,210,221)
#E7E6ED
(231,230,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331E4D; }

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

This text font color is #331E4D.

Background Color

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

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

This div background color is #331E4D.

Border color

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

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

This div border color is #331E4D.

Opacity

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

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

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

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

This text has shadow with #331E4D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331E4D.

Preview

Color preview on black background

This text has color #331E4D on black background.


Color preview on white background

This text has color #331E4D on white background.


Black color preview on #331E4D background

This text has black color on #331E4D background.


White color preview on #331E4D background

This text has white color on #331E4D background.


Related colors

Complementary color

Complementary color for #hex is #CCE1B2.


I love getcolorcode.com

Triadic colors

1 #4D331E and #1E4D33 with #331E4D are triadic colors.

2 #4D1E33 and #1E334D with #331E4D are triadic colors.