COLOR #312830

HEX: #312830 RGB: (49,40,48)

Color info

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

RGB color model

#312830 color RGB value is (49,40,48).

RGB: (49,40,48) (19%, 16%, 19%)

RGB channels and saturation

R 49 of 255 = 19%
G 40 of 255 = 16%
B 48 of 255 = 19%

49
40
48

R + G + B ~ 18%. #312830 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 40 + 48 = 137 (100%)
R 49 of 137 ~ 35.77%
G 40 of 137 ~ 29.2%
B 48 of 137 ~ 35.04'%

%35.77
%29.2
%35.04

CMYK color model

#312830 color CMYK value is (0,18,2,81).

  • cyan value is 0.00%
  • magenta value is 18.37%
  • yellow value is 2.04%
  • key color value is 80.78%

CMYK: (0,18,2,81)
C0M18Y2K81 (0%, 18%, 2%, 81%)
(0.00 / 0.18 / 0.02 / 0.81)

CMYK percentages

%0
%18.37
%2.04
%80.78

Codes

Color #312830 in popluar color models

31 28 30
RGB 49 40 48
HSL 307° 10.11% 17.45%
HSB/HSV 307° 18.37% 19.22%
CMYK 0.00% 18.37% 2.04%
80.78%

Color #312830 in popluar number systems.

HEX 31 28 30
Decimal 49 40 48
Binary 110001 101000 110000
Octal 61 50 60

Shades and tints

Shades of #312830

#312830
(49,40,48)
#2D252C
(45,37,44)
#292228
(41,34,40)
#251F24
(37,31,36)
#211C20
(33,28,32)
#1D191C
(29,25,28)
#191618
(25,22,24)
#151314
(21,19,20)
#111010
(17,16,16)
#0D0D0C
(13,13,12)
#090A08
(9,10,8)
#000000
(0,0,0)

Tints of #312830

#312830
(49,40,48)
#433B42
(67,59,66)
#554E54
(85,78,84)
#676166
(103,97,102)
#797478
(121,116,120)
#8B878A
(139,135,138)
#9D9A9C
(157,154,156)
#AFADAE
(175,173,174)
#C1C0C0
(193,192,192)
#D3D3D2
(211,211,210)
#E5E6E4
(229,230,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312830 color. Also use rgb(49,40,48) instead hex code.

Text Font Color

.myTextColor { color: #312830; }

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

This text font color is #312830.

Background Color

.myBgColor { background-color: #312830; }

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

This div background color is #312830.

Border color

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

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

This div border color is #312830.

Opacity

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

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

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

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

This text has shadow with #312830 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312830.

Preview

Color preview on black background

This text has color #312830 on black background.


Color preview on white background

This text has color #312830 on white background.


Black color preview on #312830 background

This text has black color on #312830 background.


White color preview on #312830 background

This text has white color on #312830 background.


Related colors

Complementary color

Complementary color for #hex is #CED7CF.


I love getcolorcode.com

Triadic colors

1 #303128 and #283031 with #312830 are triadic colors.

2 #302831 and #283130 with #312830 are triadic colors.