COLOR #311827

HEX: #311827 RGB: (49,24,39)

Color info

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

RGB color model

#311827 color RGB value is (49,24,39).

RGB: (49,24,39) (19%, 9%, 15%)

RGB channels and saturation

R 49 of 255 = 19%
G 24 of 255 = 9%
B 39 of 255 = 15%

49
24
39

R + G + B ~ 14%. #311827 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 24 + 39 = 112 (100%)
R 49 of 112 ~ 43.75%
G 24 of 112 ~ 21.43%
B 39 of 112 ~ 34.82'%

%43.75
%21.43
%34.82

CMYK color model

#311827 color CMYK value is (0,51,20,81).

  • cyan value is 0.00%
  • magenta value is 51.02%
  • yellow value is 20.41%
  • key color value is 80.78%

CMYK: (0,51,20,81)
C0M51Y20K81 (0%, 51%, 20%, 81%)
(0.00 / 0.51 / 0.20 / 0.81)

CMYK percentages

%0
%51.02
%20.41
%80.78

Codes

Color #311827 in popluar color models

31 18 27
RGB 49 24 39
HSL 324° 34.25% 14.31%
HSB/HSV 324° 51.02% 19.22%
CMYK 0.00% 51.02% 20.41%
80.78%

Color #311827 in popluar number systems.

HEX 31 18 27
Decimal 49 24 39
Binary 110001 11000 100111
Octal 61 30 47

Shades and tints

Shades of #311827

#311827
(49,24,39)
#2D1624
(45,22,36)
#291421
(41,20,33)
#25121E
(37,18,30)
#21101B
(33,16,27)
#1D0E18
(29,14,24)
#190C15
(25,12,21)
#150A12
(21,10,18)
#11080F
(17,8,15)
#0D060C
(13,6,12)
#090409
(9,4,9)
#000000
(0,0,0)

Tints of #311827

#311827
(49,24,39)
#432D3A
(67,45,58)
#55424D
(85,66,77)
#675760
(103,87,96)
#796C73
(121,108,115)
#8B8186
(139,129,134)
#9D9699
(157,150,153)
#AFABAC
(175,171,172)
#C1C0BF
(193,192,191)
#D3D5D2
(211,213,210)
#E5EAE5
(229,234,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311827; }

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

This text font color is #311827.

Background Color

.myBgColor { background-color: #311827; }

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

This div background color is #311827.

Border color

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

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

This div border color is #311827.

Opacity

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

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

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

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

This text has shadow with #311827 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311827.

Preview

Color preview on black background

This text has color #311827 on black background.


Color preview on white background

This text has color #311827 on white background.


Black color preview on #311827 background

This text has black color on #311827 background.


White color preview on #311827 background

This text has white color on #311827 background.


Related colors

Complementary color

Complementary color for #hex is #CEE7D8.


I love getcolorcode.com

Triadic colors

1 #273118 and #182731 with #311827 are triadic colors.

2 #271831 and #183127 with #311827 are triadic colors.