COLOR #404240

HEX: #404240 RGB: (64,66,64)

Color info

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

RGB color model

#404240 color RGB value is (64,66,64).

RGB: (64,66,64) (25%, 26%, 25%)

RGB channels and saturation

R 64 of 255 = 25%
G 66 of 255 = 26%
B 64 of 255 = 25%

64
66
64

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

Portions of RGB colors in percentages

R + G + B = 64 + 66 + 64 = 194 (100%)
R 64 of 194 ~ 32.99%
G 66 of 194 ~ 34.02%
B 64 of 194 ~ 32.99'%

%32.99
%34.02
%32.99

CMYK color model

#404240 color CMYK value is (3,0,3,74).

  • cyan value is 3.03%
  • magenta value is 0.00%
  • yellow value is 3.03%
  • key color value is 74.12%

CMYK: (3,0,3,74)
C3M0Y3K74 (3%, 0%, 3%, 74%)
(0.03 / 0.00 / 0.03 / 0.74)

CMYK percentages

%3.03
%0
%3.03
%74.12

Codes

Color #404240 in popluar color models

40 42 40
RGB 64 66 64
HSL 120° 1.54% 25.49%
HSB/HSV 120° 3.03% 25.88%
CMYK 3.03% 0.00% 3.03%
74.12%

Color #404240 in popluar number systems.

HEX 40 42 40
Decimal 64 66 64
Binary 1000000 1000010 1000000
Octal 100 102 100

Shades and tints

Shades of #404240

#404240
(64,66,64)
#3B3C3B
(59,60,59)
#363636
(54,54,54)
#313031
(49,48,49)
#2C2A2C
(44,42,44)
#272427
(39,36,39)
#221E22
(34,30,34)
#1D181D
(29,24,29)
#181218
(24,18,24)
#130C13
(19,12,19)
#0E060E
(14,6,14)
#000000
(0,0,0)

Tints of #404240

#404240
(64,66,64)
#515351
(81,83,81)
#626462
(98,100,98)
#737573
(115,117,115)
#848684
(132,134,132)
#959795
(149,151,149)
#A6A8A6
(166,168,166)
#B7B9B7
(183,185,183)
#C8CAC8
(200,202,200)
#D9DBD9
(217,219,217)
#EAECEA
(234,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #404240; }

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

This text font color is #404240.

Background Color

.myBgColor { background-color: #404240; }

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

This div background color is #404240.

Border color

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

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

This div border color is #404240.

Opacity

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

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

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

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

This text has shadow with #404240 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #404240.

Preview

Color preview on black background

This text has color #404240 on black background.


Color preview on white background

This text has color #404240 on white background.


Black color preview on #404240 background

This text has black color on #404240 background.


White color preview on #404240 background

This text has white color on #404240 background.


Related colors

Complementary color

Complementary color for #hex is #BFBDBF.


I love getcolorcode.com

Triadic colors

1 #404042 and #424040 with #404240 are triadic colors.

2 #404240 and #424040 with #404240 are triadic colors.