COLOR #311236

HEX: #311236 RGB: (49,18,54)

Color info

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

RGB color model

#311236 color RGB value is (49,18,54).

RGB: (49,18,54) (19%, 7%, 21%)

RGB channels and saturation

R 49 of 255 = 19%
G 18 of 255 = 7%
B 54 of 255 = 21%

49
18
54

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

Portions of RGB colors in percentages

R + G + B = 49 + 18 + 54 = 121 (100%)
R 49 of 121 ~ 40.5%
G 18 of 121 ~ 14.88%
B 54 of 121 ~ 44.63'%

%40.5
%14.88
%44.63

CMYK color model

#311236 color CMYK value is (9,67,0,79).

  • cyan value is 9.26%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 78.82%

CMYK: (9,67,0,79)
C9M67Y0K79 (9%, 67%, 0%, 79%)
(0.09 / 0.67 / 0.00 / 0.79)

CMYK percentages

%9.26
%66.67
%0
%78.82

Codes

Color #311236 in popluar color models

31 12 36
RGB 49 18 54
HSL 292° 50.00% 14.12%
HSB/HSV 292° 66.67% 21.18%
CMYK 9.26% 66.67% 0.00%
78.82%

Color #311236 in popluar number systems.

HEX 31 12 36
Decimal 49 18 54
Binary 110001 10010 110110
Octal 61 22 66

Shades and tints

Shades of #311236

#311236
(49,18,54)
#2D1132
(45,17,50)
#29102E
(41,16,46)
#250F2A
(37,15,42)
#210E26
(33,14,38)
#1D0D22
(29,13,34)
#190C1E
(25,12,30)
#150B1A
(21,11,26)
#110A16
(17,10,22)
#0D0912
(13,9,18)
#09080E
(9,8,14)
#000000
(0,0,0)

Tints of #311236

#311236
(49,18,54)
#432748
(67,39,72)
#553C5A
(85,60,90)
#67516C
(103,81,108)
#79667E
(121,102,126)
#8B7B90
(139,123,144)
#9D90A2
(157,144,162)
#AFA5B4
(175,165,180)
#C1BAC6
(193,186,198)
#D3CFD8
(211,207,216)
#E5E4EA
(229,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311236 color. Also use rgb(49,18,54) instead hex code.

Text Font Color

.myTextColor { color: #311236; }

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

This text font color is #311236.

Background Color

.myBgColor { background-color: #311236; }

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

This div background color is #311236.

Border color

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

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

This div border color is #311236.

Opacity

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

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

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

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

This text has shadow with #311236 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311236.

Preview

Color preview on black background

This text has color #311236 on black background.


Color preview on white background

This text has color #311236 on white background.


Black color preview on #311236 background

This text has black color on #311236 background.


White color preview on #311236 background

This text has white color on #311236 background.


Related colors

Complementary color

Complementary color for #hex is #CEEDC9.


I love getcolorcode.com

Triadic colors

1 #363112 and #123631 with #311236 are triadic colors.

2 #361231 and #123136 with #311236 are triadic colors.