COLOR #331E38

HEX: #331E38 RGB: (51,30,56)

Color info

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

RGB color model

#331E38 color RGB value is (51,30,56).

RGB: (51,30,56) (20%, 12%, 22%)

RGB channels and saturation

R 51 of 255 = 20%
G 30 of 255 = 12%
B 56 of 255 = 22%

51
30
56

R + G + B ~ 18%. #331E38 is dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 30 + 56 = 137 (100%)
R 51 of 137 ~ 37.23%
G 30 of 137 ~ 21.9%
B 56 of 137 ~ 40.88'%

%37.23
%21.9
%40.88

CMYK color model

#331E38 color CMYK value is (9,46,0,78).

  • cyan value is 8.93%
  • magenta value is 46.43%
  • yellow value is 0.00%
  • key color value is 78.04%

CMYK: (9,46,0,78)
C9M46Y0K78 (9%, 46%, 0%, 78%)
(0.09 / 0.46 / 0.00 / 0.78)

CMYK percentages

%8.93
%46.43
%0
%78.04

Codes

Color #331E38 in popluar color models

33 1E 38
RGB 51 30 56
HSL 288° 30.23% 16.86%
HSB/HSV 288° 46.43% 21.96%
CMYK 8.93% 46.43% 0.00%
78.04%

Color #331E38 in popluar number systems.

HEX 33 1E 38
Decimal 51 30 56
Binary 110011 11110 111000
Octal 63 36 70

Shades and tints

Shades of #331E38

#331E38
(51,30,56)
#2F1C33
(47,28,51)
#2B1A2E
(43,26,46)
#271829
(39,24,41)
#231624
(35,22,36)
#1F141F
(31,20,31)
#1B121A
(27,18,26)
#171015
(23,16,21)
#130E10
(19,14,16)
#0F0C0B
(15,12,11)
#0B0A06
(11,10,6)
#000000
(0,0,0)

Tints of #331E38

#331E38
(51,30,56)
#45324A
(69,50,74)
#57465C
(87,70,92)
#695A6E
(105,90,110)
#7B6E80
(123,110,128)
#8D8292
(141,130,146)
#9F96A4
(159,150,164)
#B1AAB6
(177,170,182)
#C3BEC8
(195,190,200)
#D5D2DA
(213,210,218)
#E7E6EC
(231,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331E38; }

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

This text font color is #331E38.

Background Color

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

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

This div background color is #331E38.

Border color

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

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

This div border color is #331E38.

Opacity

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

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

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

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

This text has shadow with #331E38 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331E38.

Preview

Color preview on black background

This text has color #331E38 on black background.


Color preview on white background

This text has color #331E38 on white background.


Black color preview on #331E38 background

This text has black color on #331E38 background.


White color preview on #331E38 background

This text has white color on #331E38 background.


Related colors

Complementary color

Complementary color for #hex is #CCE1C7.


I love getcolorcode.com

Triadic colors

1 #38331E and #1E3833 with #331E38 are triadic colors.

2 #381E33 and #1E3338 with #331E38 are triadic colors.