COLOR #313840

HEX: #313840 RGB: (49,56,64)

Color info

#313840 contains red, green and blue colors in about the same proportion. Web safe color of #313840 is #333333 (or #333).

RGB color model

#313840 color RGB value is (49,56,64).

RGB: (49,56,64) (19%, 22%, 25%)

RGB channels and saturation

R 49 of 255 = 19%
G 56 of 255 = 22%
B 64 of 255 = 25%

49
56
64

R + G + B ~ 22%. #313840 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 56 + 64 = 169 (100%)
R 49 of 169 ~ 28.99%
G 56 of 169 ~ 33.14%
B 64 of 169 ~ 37.87'%

%28.99
%33.14
%37.87

CMYK color model

#313840 color CMYK value is (23,13,0,75).

  • cyan value is 23.44%
  • magenta value is 12.50%
  • yellow value is 0.00%
  • key color value is 74.90%

CMYK: (23,13,0,75)
C23M13Y0K75 (23%, 13%, 0%, 75%)
(0.23 / 0.13 / 0.00 / 0.75)

CMYK percentages

%23.44
%12.5
%0
%74.9

Codes

Color #313840 in popluar color models

31 38 40
RGB 49 56 64
HSL 212° 13.27% 22.16%
HSB/HSV 212° 23.44% 25.10%
CMYK 23.44% 12.50% 0.00%
74.90%

Color #313840 in popluar number systems.

HEX 31 38 40
Decimal 49 56 64
Binary 110001 111000 1000000
Octal 61 70 100

Shades and tints

Shades of #313840

#313840
(49,56,64)
#2D333B
(45,51,59)
#292E36
(41,46,54)
#252931
(37,41,49)
#21242C
(33,36,44)
#1D1F27
(29,31,39)
#191A22
(25,26,34)
#15151D
(21,21,29)
#111018
(17,16,24)
#0D0B13
(13,11,19)
#09060E
(9,6,14)
#000000
(0,0,0)

Tints of #313840

#313840
(49,56,64)
#434A51
(67,74,81)
#555C62
(85,92,98)
#676E73
(103,110,115)
#798084
(121,128,132)
#8B9295
(139,146,149)
#9DA4A6
(157,164,166)
#AFB6B7
(175,182,183)
#C1C8C8
(193,200,200)
#D3DAD9
(211,218,217)
#E5ECEA
(229,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #313840; }

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

This text font color is #313840.

Background Color

.myBgColor { background-color: #313840; }

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

This div background color is #313840.

Border color

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

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

This div border color is #313840.

Opacity

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

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

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

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

This text has shadow with #313840 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #313840.

Preview

Color preview on black background

This text has color #313840 on black background.


Color preview on white background

This text has color #313840 on white background.


Black color preview on #313840 background

This text has black color on #313840 background.


White color preview on #313840 background

This text has white color on #313840 background.


Related colors

Complementary color

Complementary color for #hex is #CEC7BF.


I love getcolorcode.com

Triadic colors

1 #403138 and #384031 with #313840 are triadic colors.

2 #403831 and #383140 with #313840 are triadic colors.