COLOR #40314D

HEX: #40314D RGB: (64,49,77)

Color info

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

RGB color model

#40314D color RGB value is (64,49,77).

RGB: (64,49,77) (25%, 19%, 30%)

RGB channels and saturation

R 64 of 255 = 25%
G 49 of 255 = 19%
B 77 of 255 = 30%

64
49
77

R + G + B ~ 25%. #40314D is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 49 + 77 = 190 (100%)
R 64 of 190 ~ 33.68%
G 49 of 190 ~ 25.79%
B 77 of 190 ~ 40.53'%

%33.68
%25.79
%40.53

CMYK color model

#40314D color CMYK value is (17,36,0,70).

  • cyan value is 16.88%
  • magenta value is 36.36%
  • yellow value is 0.00%
  • key color value is 69.80%
CMYK: (17,36,0,70) C17M36Y0K70 (17%,36%,0%,70%) (0.17/0.36/0.00/0.70) 

CMYK percentages

%16.88
%36.36
%0
%69.8

Codes

Color #40314D in popluar color models

40 31 4D
RGB 64 49 77
HSL 272° 22.22% 24.71%
HSB/HSV 272° 36.36% 30.20%
CMYK 16.88% 36.36% 0.00%
69.80%

Color #40314D in popluar number systems.

HEX 40 31 4D
Decimal 64 49 77
Binary 1000000 110001 1001101
Octal 100 61 115

Shades and tints

Shades of #40314D

#40314D
(64,49,77)
#3B2D46
(59,45,70)
#36293F
(54,41,63)
#312538
(49,37,56)
#2C2131
(44,33,49)
#271D2A
(39,29,42)
#221923
(34,25,35)
#1D151C
(29,21,28)
#181115
(24,17,21)
#130D0E
(19,13,14)
#0E0907
(14,9,7)
#000000
(0,0,0)

Tints of #40314D

#40314D
(64,49,77)
#51435D
(81,67,93)
#62556D
(98,85,109)
#73677D
(115,103,125)
#84798D
(132,121,141)
#958B9D
(149,139,157)
#A69DAD
(166,157,173)
#B7AFBD
(183,175,189)
#C8C1CD
(200,193,205)
#D9D3DD
(217,211,221)
#EAE5ED
(234,229,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40314D; }

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

This text font color is #40314D.

Background Color

.myBgColor { background-color: #40314D; }

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

This div background color is #40314D.

Border color

.myBorderColor { border: 1px solid #40314D; }

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

This div border color is #40314D.

Opacity

.myOpacity80 { color: #40314D; opacity: 0.8; }

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

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

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

This text has shadow with #40314D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40314D.

Preview

Color preview on black background

This text has color #40314D on black background.


Color preview on white background

This text has color #40314D on white background.


Black color preview on #40314D background

This text has black color on #40314D background.


White color preview on #40314D background

This text has white color on #40314D background.


Related colors

Complementary color

Complementary color for #hex is #BFCEB2.


I love getcolorcode.com

Triadic colors

1 #4D4031 and #314D40 with #40314D are triadic colors.

2 #4D3140 and #31404D with #40314D are triadic colors.