COLOR #31173E

HEX: #31173E RGB: (49,23,62)

Color info

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

RGB color model

#31173E color RGB value is (49,23,62).

RGB: (49,23,62) (19%, 9%, 24%)

RGB channels and saturation

R 49 of 255 = 19%
G 23 of 255 = 9%
B 62 of 255 = 24%

49
23
62

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

Portions of RGB colors in percentages

R + G + B = 49 + 23 + 62 = 134 (100%)
R 49 of 134 ~ 36.57%
G 23 of 134 ~ 17.16%
B 62 of 134 ~ 46.27'%

%36.57
%17.16
%46.27

CMYK color model

#31173E color CMYK value is (21,63,0,76).

  • cyan value is 20.97%
  • magenta value is 62.90%
  • yellow value is 0.00%
  • key color value is 75.69%

CMYK: (21,63,0,76)
C21M63Y0K76 (21%, 63%, 0%, 76%)
(0.21 / 0.63 / 0.00 / 0.76)

CMYK percentages

%20.97
%62.9
%0
%75.69

Codes

Color #31173E in popluar color models

31 17 3E
RGB 49 23 62
HSL 280° 45.88% 16.67%
HSB/HSV 280° 62.90% 24.31%
CMYK 20.97% 62.90% 0.00%
75.69%

Color #31173E in popluar number systems.

HEX 31 17 3E
Decimal 49 23 62
Binary 110001 10111 111110
Octal 61 27 76

Shades and tints

Shades of #31173E

#31173E
(49,23,62)
#2D1539
(45,21,57)
#291334
(41,19,52)
#25112F
(37,17,47)
#210F2A
(33,15,42)
#1D0D25
(29,13,37)
#190B20
(25,11,32)
#15091B
(21,9,27)
#110716
(17,7,22)
#0D0511
(13,5,17)
#09030C
(9,3,12)
#000000
(0,0,0)

Tints of #31173E

#31173E
(49,23,62)
#432C4F
(67,44,79)
#554160
(85,65,96)
#675671
(103,86,113)
#796B82
(121,107,130)
#8B8093
(139,128,147)
#9D95A4
(157,149,164)
#AFAAB5
(175,170,181)
#C1BFC6
(193,191,198)
#D3D4D7
(211,212,215)
#E5E9E8
(229,233,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #31173E; }

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

This text font color is #31173E.

Background Color

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

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

This div background color is #31173E.

Border color

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

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

This div border color is #31173E.

Opacity

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

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

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

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

This text has shadow with #31173E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #31173E.

Preview

Color preview on black background

This text has color #31173E on black background.


Color preview on white background

This text has color #31173E on white background.


Black color preview on #31173E background

This text has black color on #31173E background.


White color preview on #31173E background

This text has white color on #31173E background.


Related colors

Complementary color

Complementary color for #hex is #CEE8C1.


I love getcolorcode.com

Triadic colors

1 #3E3117 and #173E31 with #31173E are triadic colors.

2 #3E1731 and #17313E with #31173E are triadic colors.