COLOR #313938

HEX: #313938
RGB: (49,57,56)

Color info

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

RGB color model

#313938 color RGB value is (49,57,56).

  • red value is 49;
  • green value is 57;
  • blue value is 56.
RGB:
(49,57,56)
(19%,22%,22%)

RGB channels and saturation

R 49 of 255 = 19%
G 57 of 255 = 22%
B 56 of 255 = 22%

49
57
56

R + G + B ~ 21%. #313938 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 57 + 56 = 162 (100%)
R 49 of 162 ~ 30.25%
G 57 of 162 ~ 35.19%
B 56 of 162 ~ 34.57%

%30.25
%35.19
%34.57

CMYK color model

#313938 color CMYK value is (14,0,2,78).

  • cyan value is 14.04%
  • magenta value is 0.00%
  • yellow value is 1.75%
  • key color value is 77.65%
CMYK:
(14,0,2,78)
C14M0Y2K78 
(14%,0%,2%,78%)
(0.14/0.00/0.02/0.78)	

CMYK percentages

%14.04
%0
%1.75
%77.65

Codes

Color #313938 in popluar color models

313938
RGB495756
HSL173°7.55%20.78%
HSB/HSV173°14.04%22.35%
CMYK14.04%0.00%1.75%
77.65%

Color #313938 in popluar number systems.

HEX313938
Decimal495756
Binary110001111001111000
Octal617170

Shades and tints

Shades of #313938

#313938
(49,57,56)
#2D3433
(45,52,51)
#292F2E
(41,47,46)
#252A29
(37,42,41)
#212524
(33,37,36)
#1D201F
(29,32,31)
#191B1A
(25,27,26)
#151615
(21,22,21)
#111110
(17,17,16)
#0D0C0B
(13,12,11)
#090706
(9,7,6)
#000000
(0,0,0)

Tints of #313938

#313938
(49,57,56)
#434B4A
(67,75,74)
#555D5C
(85,93,92)
#676F6E
(103,111,110)
#798180
(121,129,128)
#8B9392
(139,147,146)
#9DA5A4
(157,165,164)
#AFB7B6
(175,183,182)
#C1C9C8
(193,201,200)
#D3DBDA
(211,219,218)
#E5EDEC
(229,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #313938; }

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

This text font color is #313938.


Background Color

.myBgColor { background-color: #313938; }

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

This div background color is #313938.


Border color

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

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

This div border color is #313938.


Opacity

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

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

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

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

This text has shadow with #313938 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #313938 on black background.


Color preview on white background

This text has color #313938 on white background.



Black color preview on #313938 background

This text has black color on #313938 background.


White color preview on #313938 background

This text has white color on #313938 background.