COLOR #331831

HEX: #331831 RGB: (51,24,49)

Color info

#331831 contains red, green and blue colors in about the same proportion. Web safe color of #331831 is #330033 (or #303).

RGB color model

#331831 color RGB value is (51,24,49).

RGB: (51,24,49) (20%, 9%, 19%)

RGB channels and saturation

R 51 of 255 = 20%
G 24 of 255 = 9%
B 49 of 255 = 19%

51
24
49

R + G + B ~ 16%. #331831 is dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 24 + 49 = 124 (100%)
R 51 of 124 ~ 41.13%
G 24 of 124 ~ 19.35%
B 49 of 124 ~ 39.52'%

%41.13
%19.35
%39.52

CMYK color model

#331831 color CMYK value is (0,53,4,80).

  • cyan value is 0.00%
  • magenta value is 52.94%
  • yellow value is 3.92%
  • key color value is 80.00%

CMYK: (0,53,4,80)
C0M53Y4K80 (0%, 53%, 4%, 80%)
(0.00 / 0.53 / 0.04 / 0.80)

CMYK percentages

%0
%52.94
%3.92
%80

Codes

Color #331831 in popluar color models

33 18 31
RGB 51 24 49
HSL 304° 36.00% 14.71%
HSB/HSV 304° 52.94% 20.00%
CMYK 0.00% 52.94% 3.92%
80.00%

Color #331831 in popluar number systems.

HEX 33 18 31
Decimal 51 24 49
Binary 110011 11000 110001
Octal 63 30 61

Shades and tints

Shades of #331831

#331831
(51,24,49)
#2F162D
(47,22,45)
#2B1429
(43,20,41)
#271225
(39,18,37)
#231021
(35,16,33)
#1F0E1D
(31,14,29)
#1B0C19
(27,12,25)
#170A15
(23,10,21)
#130811
(19,8,17)
#0F060D
(15,6,13)
#0B0409
(11,4,9)
#000000
(0,0,0)

Tints of #331831

#331831
(51,24,49)
#452D43
(69,45,67)
#574255
(87,66,85)
#695767
(105,87,103)
#7B6C79
(123,108,121)
#8D818B
(141,129,139)
#9F969D
(159,150,157)
#B1ABAF
(177,171,175)
#C3C0C1
(195,192,193)
#D5D5D3
(213,213,211)
#E7EAE5
(231,234,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331831 color. Also use rgb(51,24,49) instead hex code.

Text Font Color

.myTextColor { color: #331831; }

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

This text font color is #331831.

Background Color

.myBgColor { background-color: #331831; }

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

This div background color is #331831.

Border color

.myBorderColor { border: 1px solid #331831; }

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

This div border color is #331831.

Opacity

.myOpacity80 { color: #331831; opacity: 0.8; }

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

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

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

This text has shadow with #331831 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331831.

Preview

Color preview on black background

This text has color #331831 on black background.


Color preview on white background

This text has color #331831 on white background.


Black color preview on #331831 background

This text has black color on #331831 background.


White color preview on #331831 background

This text has white color on #331831 background.


Related colors

Complementary color

Complementary color for #hex is #CCE7CE.


I love getcolorcode.com

Triadic colors

1 #313318 and #183133 with #331831 are triadic colors.

2 #311833 and #183331 with #331831 are triadic colors.