COLOR #331D36

HEX: #331D36
RGB: (51,29,54)

Color info

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

RGB color model

#331D36 color RGB value is (51,29,54).

  • red value is 51;
  • green value is 29;
  • blue value is 54.
RGB:
(51,29,54)
(20%,11%,21%)

RGB channels and saturation

R 51 of 255 = 20%
G 29 of 255 = 11%
B 54 of 255 = 21%

51
29
54

R + G + B ~ 17%. #331D36 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 29 + 54 = 134 (100%)
R 51 of 134 ~ 38.06%
G 29 of 134 ~ 21.64%
B 54 of 134 ~ 40.3%

%38.06
%21.64
%40.3

CMYK color model

#331D36 color CMYK value is (6,46,0,79).

  • cyan value is 5.56%
  • magenta value is 46.30%
  • yellow value is 0.00%
  • key color value is 78.82%
CMYK:
(6,46,0,79)
C6M46Y0K79 
(6%,46%,0%,79%)
(0.06/0.46/0.00/0.79)	

CMYK percentages

%5.56
%46.3
%0
%78.82

Codes

Color #331D36 in popluar color models

331D36
RGB512954
HSL293°30.12%16.27%
HSB/HSV293°46.30%21.18%
CMYK5.56%46.30%0.00%
78.82%

Color #331D36 in popluar number systems.

HEX331D36
Decimal512954
Binary11001111101110110
Octal633566

Shades and tints

Shades of #331D36

#331D36
(51,29,54)
#2F1B32
(47,27,50)
#2B192E
(43,25,46)
#27172A
(39,23,42)
#231526
(35,21,38)
#1F1322
(31,19,34)
#1B111E
(27,17,30)
#170F1A
(23,15,26)
#130D16
(19,13,22)
#0F0B12
(15,11,18)
#0B090E
(11,9,14)
#000000
(0,0,0)

Tints of #331D36

#331D36
(51,29,54)
#453148
(69,49,72)
#57455A
(87,69,90)
#69596C
(105,89,108)
#7B6D7E
(123,109,126)
#8D8190
(141,129,144)
#9F95A2
(159,149,162)
#B1A9B4
(177,169,180)
#C3BDC6
(195,189,198)
#D5D1D8
(213,209,216)
#E7E5EA
(231,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331D36 color. Also use rgb(51,29,54) instead hex code.

Text Font Color

.myTextColor { color: #331D36; }

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

This text font color is #331D36.


Background Color

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

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

This div background color is #331D36.


Border color

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

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

This div border color is #331D36.


Opacity

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

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

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

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

This text has shadow with #331D36 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331D36 on black background.


Color preview on white background

This text has color #331D36 on white background.



Black color preview on #331D36 background

This text has black color on #331D36 background.


White color preview on #331D36 background

This text has white color on #331D36 background.