COLOR #312227

HEX: #312227 RGB: (49,34,39)

Color info

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

RGB color model

#312227 color RGB value is (49,34,39).

RGB: (49,34,39) (19%, 13%, 15%)

RGB channels and saturation

R 49 of 255 = 19%
G 34 of 255 = 13%
B 39 of 255 = 15%

49
34
39

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

Portions of RGB colors in percentages

R + G + B = 49 + 34 + 39 = 122 (100%)
R 49 of 122 ~ 40.16%
G 34 of 122 ~ 27.87%
B 39 of 122 ~ 31.97'%

%40.16
%27.87
%31.97

CMYK color model

#312227 color CMYK value is (0,31,20,81).

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

CMYK: (0,31,20,81)
C0M31Y20K81 (0%, 31%, 20%, 81%)
(0.00 / 0.31 / 0.20 / 0.81)

CMYK percentages

%0
%30.61
%20.41
%80.78

Codes

Color #312227 in popluar color models

31 22 27
RGB 49 34 39
HSL 340° 18.07% 16.27%
HSB/HSV 340° 30.61% 19.22%
CMYK 0.00% 30.61% 20.41%
80.78%

Color #312227 in popluar number systems.

HEX 31 22 27
Decimal 49 34 39
Binary 110001 100010 100111
Octal 61 42 47

Shades and tints

Shades of #312227

#312227
(49,34,39)
#2D1F24
(45,31,36)
#291C21
(41,28,33)
#25191E
(37,25,30)
#21161B
(33,22,27)
#1D1318
(29,19,24)
#191015
(25,16,21)
#150D12
(21,13,18)
#110A0F
(17,10,15)
#0D070C
(13,7,12)
#090409
(9,4,9)
#000000
(0,0,0)

Tints of #312227

#312227
(49,34,39)
#43363A
(67,54,58)
#554A4D
(85,74,77)
#675E60
(103,94,96)
#797273
(121,114,115)
#8B8686
(139,134,134)
#9D9A99
(157,154,153)
#AFAEAC
(175,174,172)
#C1C2BF
(193,194,191)
#D3D6D2
(211,214,210)
#E5EAE5
(229,234,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #312227; }

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

This text font color is #312227.

Background Color

.myBgColor { background-color: #312227; }

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

This div background color is #312227.

Border color

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

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

This div border color is #312227.

Opacity

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

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

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

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

This text has shadow with #312227 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312227.

Preview

Color preview on black background

This text has color #312227 on black background.


Color preview on white background

This text has color #312227 on white background.


Black color preview on #312227 background

This text has black color on #312227 background.


White color preview on #312227 background

This text has white color on #312227 background.


Related colors

Complementary color

Complementary color for #hex is #CEDDD8.


I love getcolorcode.com

Triadic colors

1 #273122 and #222731 with #312227 are triadic colors.

2 #272231 and #223127 with #312227 are triadic colors.