COLOR #331B39

HEX: #331B39 RGB: (51,27,57)

Color info

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

RGB color model

#331B39 color RGB value is (51,27,57).

RGB: (51,27,57) (20%, 11%, 22%)

RGB channels and saturation

R 51 of 255 = 20%
G 27 of 255 = 11%
B 57 of 255 = 22%

51
27
57

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

Portions of RGB colors in percentages

R + G + B = 51 + 27 + 57 = 135 (100%)
R 51 of 135 ~ 37.78%
G 27 of 135 ~ 20%
B 57 of 135 ~ 42.22'%

%37.78
%20
%42.22

CMYK color model

#331B39 color CMYK value is (11,53,0,78).

  • cyan value is 10.53%
  • magenta value is 52.63%
  • yellow value is 0.00%
  • key color value is 77.65%

CMYK: (11,53,0,78)
C11M53Y0K78 (11%, 53%, 0%, 78%)
(0.11 / 0.53 / 0.00 / 0.78)

CMYK percentages

%10.53
%52.63
%0
%77.65

Codes

Color #331B39 in popluar color models

33 1B 39
RGB 51 27 57
HSL 288° 35.71% 16.47%
HSB/HSV 288° 52.63% 22.35%
CMYK 10.53% 52.63% 0.00%
77.65%

Color #331B39 in popluar number systems.

HEX 33 1B 39
Decimal 51 27 57
Binary 110011 11011 111001
Octal 63 33 71

Shades and tints

Shades of #331B39

#331B39
(51,27,57)
#2F1934
(47,25,52)
#2B172F
(43,23,47)
#27152A
(39,21,42)
#231325
(35,19,37)
#1F1120
(31,17,32)
#1B0F1B
(27,15,27)
#170D16
(23,13,22)
#130B11
(19,11,17)
#0F090C
(15,9,12)
#0B0707
(11,7,7)
#000000
(0,0,0)

Tints of #331B39

#331B39
(51,27,57)
#452F4B
(69,47,75)
#57435D
(87,67,93)
#69576F
(105,87,111)
#7B6B81
(123,107,129)
#8D7F93
(141,127,147)
#9F93A5
(159,147,165)
#B1A7B7
(177,167,183)
#C3BBC9
(195,187,201)
#D5CFDB
(213,207,219)
#E7E3ED
(231,227,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331B39 color. Also use rgb(51,27,57) instead hex code.

Text Font Color

.myTextColor { color: #331B39; }

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

This text font color is #331B39.

Background Color

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

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

This div background color is #331B39.

Border color

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

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

This div border color is #331B39.

Opacity

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

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

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

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

This text has shadow with #331B39 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331B39.

Preview

Color preview on black background

This text has color #331B39 on black background.


Color preview on white background

This text has color #331B39 on white background.


Black color preview on #331B39 background

This text has black color on #331B39 background.


White color preview on #331B39 background

This text has white color on #331B39 background.


Related colors

Complementary color

Complementary color for #hex is #CCE4C6.


I love getcolorcode.com

Triadic colors

1 #39331B and #1B3933 with #331B39 are triadic colors.

2 #391B33 and #1B3339 with #331B39 are triadic colors.