COLOR #31172E

HEX: #31172E
RGB: (49,23,46)

Color info

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

RGB color model

#31172E color RGB value is (49,23,46).

  • red value is 49;
  • green value is 23;
  • blue value is 46.
RGB:
(49,23,46)
(19%,9%,18%)

RGB channels and saturation

R 49 of 255 = 19%
G 23 of 255 = 9%
B 46 of 255 = 18%

49
23
46

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

Portions of RGB colors in percentages

R + G + B =
49 + 23 + 46 = 118 (100%)
R 49 of 118 ~ 41.53%
G 23 of 118 ~ 19.49%
B 46 of 118 ~ 38.98%

%41.53
%19.49
%38.98

CMYK color model

#31172E color CMYK value is (0,53,6,81).

  • cyan value is 0.00%
  • magenta value is 53.06%
  • yellow value is 6.12%
  • key color value is 80.78%
CMYK:
(0,53,6,81)
C0M53Y6K81 
(0%,53%,6%,81%)
(0.00/0.53/0.06/0.81)	

CMYK percentages

%0
%53.06
%6.12
%80.78

Codes

Color #31172E in popluar color models

31172E
RGB492346
HSL307°36.11%14.12%
HSB/HSV307°53.06%19.22%
CMYK0.00%53.06%6.12%
80.78%

Color #31172E in popluar number systems.

HEX31172E
Decimal492346
Binary11000110111101110
Octal612756

Shades and tints

Shades of #31172E

#31172E
(49,23,46)
#2D152A
(45,21,42)
#291326
(41,19,38)
#251122
(37,17,34)
#210F1E
(33,15,30)
#1D0D1A
(29,13,26)
#190B16
(25,11,22)
#150912
(21,9,18)
#11070E
(17,7,14)
#0D050A
(13,5,10)
#090306
(9,3,6)
#000000
(0,0,0)

Tints of #31172E

#31172E
(49,23,46)
#432C41
(67,44,65)
#554154
(85,65,84)
#675667
(103,86,103)
#796B7A
(121,107,122)
#8B808D
(139,128,141)
#9D95A0
(157,149,160)
#AFAAB3
(175,170,179)
#C1BFC6
(193,191,198)
#D3D4D9
(211,212,217)
#E5E9EC
(229,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31172E color. Also use rgb(49,23,46) instead hex code.

Text Font Color

.myTextColor { color: #31172E; }

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

This text font color is #31172E.


Background Color

.myBgColor { background-color: #31172E; }

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

This div background color is #31172E.


Border color

.myBorderColor { border: 1px solid #31172E; }

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

This div border color is #31172E.


Opacity

.myOpacity80 { color: #31172E; opacity: 0.8; }

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

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

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

This text has shadow with #31172E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31172E on black background.


Color preview on white background

This text has color #31172E on white background.



Black color preview on #31172E background

This text has black color on #31172E background.


White color preview on #31172E background

This text has white color on #31172E background.