COLOR #331B34

HEX: #331B34 RGB: (51,27,52)

Color info

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

RGB color model

#331B34 color RGB value is (51,27,52).

RGB: (51,27,52) (20%, 11%, 20%)

RGB channels and saturation

R 51 of 255 = 20%
G 27 of 255 = 11%
B 52 of 255 = 20%

51
27
52

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

Portions of RGB colors in percentages

R + G + B = 51 + 27 + 52 = 130 (100%)
R 51 of 130 ~ 39.23%
G 27 of 130 ~ 20.77%
B 52 of 130 ~ 40'%

%39.23
%20.77
%40

CMYK color model

#331B34 color CMYK value is (2,48,0,80).

  • cyan value is 1.92%
  • magenta value is 48.08%
  • yellow value is 0.00%
  • key color value is 79.61%

CMYK: (2,48,0,80)
C2M48Y0K80 (2%, 48%, 0%, 80%)
(0.02 / 0.48 / 0.00 / 0.80)

CMYK percentages

%1.92
%48.08
%0
%79.61

Codes

Color #331B34 in popluar color models

33 1B 34
RGB 51 27 52
HSL 298° 31.65% 15.49%
HSB/HSV 298° 48.08% 20.39%
CMYK 1.92% 48.08% 0.00%
79.61%

Color #331B34 in popluar number systems.

HEX 33 1B 34
Decimal 51 27 52
Binary 110011 11011 110100
Octal 63 33 64

Shades and tints

Shades of #331B34

#331B34
(51,27,52)
#2F1930
(47,25,48)
#2B172C
(43,23,44)
#271528
(39,21,40)
#231324
(35,19,36)
#1F1120
(31,17,32)
#1B0F1C
(27,15,28)
#170D18
(23,13,24)
#130B14
(19,11,20)
#0F0910
(15,9,16)
#0B070C
(11,7,12)
#000000
(0,0,0)

Tints of #331B34

#331B34
(51,27,52)
#452F46
(69,47,70)
#574358
(87,67,88)
#69576A
(105,87,106)
#7B6B7C
(123,107,124)
#8D7F8E
(141,127,142)
#9F93A0
(159,147,160)
#B1A7B2
(177,167,178)
#C3BBC4
(195,187,196)
#D5CFD6
(213,207,214)
#E7E3E8
(231,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331B34; }

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

This text font color is #331B34.

Background Color

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

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

This div background color is #331B34.

Border color

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

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

This div border color is #331B34.

Opacity

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

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

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

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

This text has shadow with #331B34 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331B34.

Preview

Color preview on black background

This text has color #331B34 on black background.


Color preview on white background

This text has color #331B34 on white background.


Black color preview on #331B34 background

This text has black color on #331B34 background.


White color preview on #331B34 background

This text has white color on #331B34 background.


Related colors

Complementary color

Complementary color for #hex is #CCE4CB.


I love getcolorcode.com

Triadic colors

1 #34331B and #1B3433 with #331B34 are triadic colors.

2 #341B33 and #1B3334 with #331B34 are triadic colors.