COLOR #311138

HEX: #311138
RGB: (49,17,56)

Color info

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

RGB color model

#311138 color RGB value is (49,17,56).

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

RGB channels and saturation

R 49 of 255 = 19%
G 17 of 255 = 7%
B 56 of 255 = 22%

49
17
56

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

Portions of RGB colors in percentages

R + G + B =
49 + 17 + 56 = 122 (100%)
R 49 of 122 ~ 40.16%
G 17 of 122 ~ 13.93%
B 56 of 122 ~ 45.9%

%40.16
%13.93
%45.9

CMYK color model

#311138 color CMYK value is (13,70,0,78).

  • cyan value is 12.50%
  • magenta value is 69.64%
  • yellow value is 0.00%
  • key color value is 78.04%
CMYK:
(13,70,0,78)
C13M70Y0K78 
(13%,70%,0%,78%)
(0.13/0.70/0.00/0.78)	

CMYK percentages

%12.5
%69.64
%0
%78.04

Codes

Color #311138 in popluar color models

311138
RGB491756
HSL289°53.42%14.31%
HSB/HSV289°69.64%21.96%
CMYK12.50%69.64%0.00%
78.04%

Color #311138 in popluar number systems.

HEX311138
Decimal491756
Binary11000110001111000
Octal612170

Shades and tints

Shades of #311138

#311138
(49,17,56)
#2D1033
(45,16,51)
#290F2E
(41,15,46)
#250E29
(37,14,41)
#210D24
(33,13,36)
#1D0C1F
(29,12,31)
#190B1A
(25,11,26)
#150A15
(21,10,21)
#110910
(17,9,16)
#0D080B
(13,8,11)
#090706
(9,7,6)
#000000
(0,0,0)

Tints of #311138

#311138
(49,17,56)
#43264A
(67,38,74)
#553B5C
(85,59,92)
#67506E
(103,80,110)
#796580
(121,101,128)
#8B7A92
(139,122,146)
#9D8FA4
(157,143,164)
#AFA4B6
(175,164,182)
#C1B9C8
(193,185,200)
#D3CEDA
(211,206,218)
#E5E3EC
(229,227,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311138; }

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

This text font color is #311138.


Background Color

.myBgColor { background-color: #311138; }

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

This div background color is #311138.


Border color

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

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

This div border color is #311138.


Opacity

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

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

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

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

This text has shadow with #311138 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311138 on black background.


Color preview on white background

This text has color #311138 on white background.



Black color preview on #311138 background

This text has black color on #311138 background.


White color preview on #311138 background

This text has white color on #311138 background.