COLOR #313438

HEX: #313438 RGB: (49,52,56)

Color info

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

RGB color model

#313438 color RGB value is (49,52,56).

RGB: (49,52,56) (19%, 20%, 22%)

RGB channels and saturation

R 49 of 255 = 19%
G 52 of 255 = 20%
B 56 of 255 = 22%

49
52
56

R + G + B ~ 20%. #313438 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 52 + 56 = 157 (100%)
R 49 of 157 ~ 31.21%
G 52 of 157 ~ 33.12%
B 56 of 157 ~ 35.67'%

%31.21
%33.12
%35.67

CMYK color model

#313438 color CMYK value is (13,7,0,78).

  • cyan value is 12.50%
  • magenta value is 7.14%
  • yellow value is 0.00%
  • key color value is 78.04%

CMYK: (13,7,0,78)
C13M7Y0K78 (13%, 7%, 0%, 78%)
(0.13 / 0.07 / 0.00 / 0.78)

CMYK percentages

%12.5
%7.14
%0
%78.04

Codes

Color #313438 in popluar color models

31 34 38
RGB 49 52 56
HSL 214° 6.67% 20.59%
HSB/HSV 214° 12.50% 21.96%
CMYK 12.50% 7.14% 0.00%
78.04%

Color #313438 in popluar number systems.

HEX 31 34 38
Decimal 49 52 56
Binary 110001 110100 111000
Octal 61 64 70

Shades and tints

Shades of #313438

#313438
(49,52,56)
#2D3033
(45,48,51)
#292C2E
(41,44,46)
#252829
(37,40,41)
#212424
(33,36,36)
#1D201F
(29,32,31)
#191C1A
(25,28,26)
#151815
(21,24,21)
#111410
(17,20,16)
#0D100B
(13,16,11)
#090C06
(9,12,6)
#000000
(0,0,0)

Tints of #313438

#313438
(49,52,56)
#43464A
(67,70,74)
#55585C
(85,88,92)
#676A6E
(103,106,110)
#797C80
(121,124,128)
#8B8E92
(139,142,146)
#9DA0A4
(157,160,164)
#AFB2B6
(175,178,182)
#C1C4C8
(193,196,200)
#D3D6DA
(211,214,218)
#E5E8EC
(229,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #313438; }

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

This text font color is #313438.

Background Color

.myBgColor { background-color: #313438; }

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

This div background color is #313438.

Border color

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

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

This div border color is #313438.

Opacity

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

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

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

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

This text has shadow with #313438 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #313438.

Preview

Color preview on black background

This text has color #313438 on black background.


Color preview on white background

This text has color #313438 on white background.


Black color preview on #313438 background

This text has black color on #313438 background.


White color preview on #313438 background

This text has white color on #313438 background.


Related colors

Complementary color

Complementary color for #hex is #CECBC7.


I love getcolorcode.com

Triadic colors

1 #383134 and #343831 with #313438 are triadic colors.

2 #383431 and #343138 with #313438 are triadic colors.