COLOR #311331

HEX: #311331
RGB: (49,19,49)

Color info

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

RGB color model

#311331 color RGB value is (49,19,49).

  • red value is 49;
  • green value is 19;
  • blue value is 49.
RGB:
(49,19,49)
(19%,7%,19%)

RGB channels and saturation

R 49 of 255 = 19%
G 19 of 255 = 7%
B 49 of 255 = 19%

49
19
49

R + G + B ~ 15%. #311331 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 19 + 49 = 117 (100%)
R 49 of 117 ~ 41.88%
G 19 of 117 ~ 16.24%
B 49 of 117 ~ 41.88%

%41.88
%16.24
%41.88

CMYK color model

#311331 color CMYK value is (0,61,0,81).

  • cyan value is 0.00%
  • magenta value is 61.22%
  • yellow value is 0.00%
  • key color value is 80.78%
CMYK:
(0,61,0,81)
C0M61Y0K81 
(0%,61%,0%,81%)
(0.00/0.61/0.00/0.81)	

CMYK percentages

%0
%61.22
%0
%80.78

Codes

Color #311331 in popluar color models

311331
RGB491949
HSL300°44.12%13.33%
HSB/HSV300°61.22%19.22%
CMYK0.00%61.22%0.00%
80.78%

Color #311331 in popluar number systems.

HEX311331
Decimal491949
Binary11000110011110001
Octal612361

Shades and tints

Shades of #311331

#311331
(49,19,49)
#2D122D
(45,18,45)
#291129
(41,17,41)
#251025
(37,16,37)
#210F21
(33,15,33)
#1D0E1D
(29,14,29)
#190D19
(25,13,25)
#150C15
(21,12,21)
#110B11
(17,11,17)
#0D0A0D
(13,10,13)
#090909
(9,9,9)
#000000
(0,0,0)

Tints of #311331

#311331
(49,19,49)
#432843
(67,40,67)
#553D55
(85,61,85)
#675267
(103,82,103)
#796779
(121,103,121)
#8B7C8B
(139,124,139)
#9D919D
(157,145,157)
#AFA6AF
(175,166,175)
#C1BBC1
(193,187,193)
#D3D0D3
(211,208,211)
#E5E5E5
(229,229,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311331; }

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

This text font color is #311331.


Background Color

.myBgColor { background-color: #311331; }

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

This div background color is #311331.


Border color

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

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

This div border color is #311331.


Opacity

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

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

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

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

This text has shadow with #311331 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311331 on black background.


Color preview on white background

This text has color #311331 on white background.



Black color preview on #311331 background

This text has black color on #311331 background.


White color preview on #311331 background

This text has white color on #311331 background.