COLOR #311A38

HEX: #311A38
RGB: (49,26,56)

Color info

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

RGB color model

#311A38 color RGB value is (49,26,56).

  • red value is 49;
  • green value is 26;
  • blue value is 56.
RGB:
(49,26,56)
(19%,10%,22%)

RGB channels and saturation

R 49 of 255 = 19%
G 26 of 255 = 10%
B 56 of 255 = 22%

49
26
56

R + G + B ~ 17%. #311A38 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 26 + 56 = 131 (100%)
R 49 of 131 ~ 37.4%
G 26 of 131 ~ 19.85%
B 56 of 131 ~ 42.75%

%37.4
%19.85
%42.75

CMYK color model

#311A38 color CMYK value is (13,54,0,78).

  • cyan value is 12.50%
  • magenta value is 53.57%
  • yellow value is 0.00%
  • key color value is 78.04%
CMYK:
(13,54,0,78)
C13M54Y0K78 
(13%,54%,0%,78%)
(0.13/0.54/0.00/0.78)	

CMYK percentages

%12.5
%53.57
%0
%78.04

Codes

Color #311A38 in popluar color models

311A38
RGB492656
HSL286°36.59%16.08%
HSB/HSV286°53.57%21.96%
CMYK12.50%53.57%0.00%
78.04%

Color #311A38 in popluar number systems.

HEX311A38
Decimal492656
Binary11000111010111000
Octal613270

Shades and tints

Shades of #311A38

#311A38
(49,26,56)
#2D1833
(45,24,51)
#29162E
(41,22,46)
#251429
(37,20,41)
#211224
(33,18,36)
#1D101F
(29,16,31)
#190E1A
(25,14,26)
#150C15
(21,12,21)
#110A10
(17,10,16)
#0D080B
(13,8,11)
#090606
(9,6,6)
#000000
(0,0,0)

Tints of #311A38

#311A38
(49,26,56)
#432E4A
(67,46,74)
#55425C
(85,66,92)
#67566E
(103,86,110)
#796A80
(121,106,128)
#8B7E92
(139,126,146)
#9D92A4
(157,146,164)
#AFA6B6
(175,166,182)
#C1BAC8
(193,186,200)
#D3CEDA
(211,206,218)
#E5E2EC
(229,226,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311A38 color. Also use rgb(49,26,56) instead hex code.

Text Font Color

.myTextColor { color: #311A38; }

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

This text font color is #311A38.


Background Color

.myBgColor { background-color: #311A38; }

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

This div background color is #311A38.


Border color

.myBorderColor { border: 1px solid #311A38; }

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

This div border color is #311A38.


Opacity

.myOpacity80 { color: #311A38; opacity: 0.8; }

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

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

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

This text has shadow with #311A38 color.

.textShadow {text-shadow: 3px 3px 1px #311A38, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #311A38;
-webkit-box-shadow: 1px 1px 3px 2px #311A38;
box-shadow:1px 1px 3px 2px #311A38;">
Div content here</div>
This div box has shadow with color #311A38.

Preview

Color preview on black background

This text has color #311A38 on black background.


Color preview on white background

This text has color #311A38 on white background.



Black color preview on #311A38 background

This text has black color on #311A38 background.


White color preview on #311A38 background

This text has white color on #311A38 background.