COLOR #404940

HEX: #404940 RGB: (64,73,64)

Color info

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

RGB color model

#404940 color RGB value is (64,73,64).

RGB: (64,73,64) (25%, 29%, 25%)

RGB channels and saturation

R 64 of 255 = 25%
G 73 of 255 = 29%
B 64 of 255 = 25%

64
73
64

R + G + B ~ 26%. #404940 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 73 + 64 = 201 (100%)
R 64 of 201 ~ 31.84%
G 73 of 201 ~ 36.32%
B 64 of 201 ~ 31.84'%

%31.84
%36.32
%31.84

CMYK color model

#404940 color CMYK value is (12,0,12,71).

  • cyan value is 12.33%
  • magenta value is 0.00%
  • yellow value is 12.33%
  • key color value is 71.37%

CMYK: (12,0,12,71)
C12M0Y12K71 (12%, 0%, 12%, 71%)
(0.12 / 0.00 / 0.12 / 0.71)

CMYK percentages

%12.33
%0
%12.33
%71.37

Codes

Color #404940 in popluar color models

40 49 40
RGB 64 73 64
HSL 120° 6.57% 26.86%
HSB/HSV 120° 12.33% 28.63%
CMYK 12.33% 0.00% 12.33%
71.37%

Color #404940 in popluar number systems.

HEX 40 49 40
Decimal 64 73 64
Binary 1000000 1001001 1000000
Octal 100 111 100

Shades and tints

Shades of #404940

#404940
(64,73,64)
#3B433B
(59,67,59)
#363D36
(54,61,54)
#313731
(49,55,49)
#2C312C
(44,49,44)
#272B27
(39,43,39)
#222522
(34,37,34)
#1D1F1D
(29,31,29)
#181918
(24,25,24)
#131313
(19,19,19)
#0E0D0E
(14,13,14)
#000000
(0,0,0)

Tints of #404940

#404940
(64,73,64)
#515951
(81,89,81)
#626962
(98,105,98)
#737973
(115,121,115)
#848984
(132,137,132)
#959995
(149,153,149)
#A6A9A6
(166,169,166)
#B7B9B7
(183,185,183)
#C8C9C8
(200,201,200)
#D9D9D9
(217,217,217)
#EAE9EA
(234,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #404940; }

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

This text font color is #404940.

Background Color

.myBgColor { background-color: #404940; }

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

This div background color is #404940.

Border color

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

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

This div border color is #404940.

Opacity

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

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

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

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

This text has shadow with #404940 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #404940.

Preview

Color preview on black background

This text has color #404940 on black background.


Color preview on white background

This text has color #404940 on white background.


Black color preview on #404940 background

This text has black color on #404940 background.


White color preview on #404940 background

This text has white color on #404940 background.


Related colors

Complementary color

Complementary color for #hex is #BFB6BF.


I love getcolorcode.com

Triadic colors

1 #404049 and #494040 with #404940 are triadic colors.

2 #404940 and #494040 with #404940 are triadic colors.