COLOR #311541

HEX: #311541
RGB: (49,21,65)

Color info

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

RGB color model

#311541 color RGB value is (49,21,65).

  • red value is 49;
  • green value is 21;
  • blue value is 65.
RGB:
(49,21,65)
(19%,8%,25%)

RGB channels and saturation

R 49 of 255 = 19%
G 21 of 255 = 8%
B 65 of 255 = 25%

49
21
65

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

Portions of RGB colors in percentages

R + G + B =
49 + 21 + 65 = 135 (100%)
R 49 of 135 ~ 36.3%
G 21 of 135 ~ 15.56%
B 65 of 135 ~ 48.15%

%36.3
%15.56
%48.15

CMYK color model

#311541 color CMYK value is (25,68,0,75).

  • cyan value is 24.62%
  • magenta value is 67.69%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(25,68,0,75)
C25M68Y0K75 
(25%,68%,0%,75%)
(0.25/0.68/0.00/0.75)	

CMYK percentages

%24.62
%67.69
%0
%74.51

Codes

Color #311541 in popluar color models

311541
RGB492165
HSL278°51.16%16.86%
HSB/HSV278°67.69%25.49%
CMYK24.62%67.69%0.00%
74.51%

Color #311541 in popluar number systems.

HEX311541
Decimal492165
Binary110001101011000001
Octal6125101

Shades and tints

Shades of #311541

#311541
(49,21,65)
#2D143C
(45,20,60)
#291337
(41,19,55)
#251232
(37,18,50)
#21112D
(33,17,45)
#1D1028
(29,16,40)
#190F23
(25,15,35)
#150E1E
(21,14,30)
#110D19
(17,13,25)
#0D0C14
(13,12,20)
#090B0F
(9,11,15)
#000000
(0,0,0)

Tints of #311541

#311541
(49,21,65)
#432A52
(67,42,82)
#553F63
(85,63,99)
#675474
(103,84,116)
#796985
(121,105,133)
#8B7E96
(139,126,150)
#9D93A7
(157,147,167)
#AFA8B8
(175,168,184)
#C1BDC9
(193,189,201)
#D3D2DA
(211,210,218)
#E5E7EB
(229,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311541; }

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

This text font color is #311541.


Background Color

.myBgColor { background-color: #311541; }

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

This div background color is #311541.


Border color

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

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

This div border color is #311541.


Opacity

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

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

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

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

This text has shadow with #311541 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311541 on black background.


Color preview on white background

This text has color #311541 on white background.



Black color preview on #311541 background

This text has black color on #311541 background.


White color preview on #311541 background

This text has white color on #311541 background.