COLOR #404050

HEX: #404050 RGB: (64,64,80)

Color info

#404050 contains red, green and blue colors in about the same proportion. Web safe color of #404050 is #333366 (or #336).

RGB color model

#404050 color RGB value is (64,64,80).

RGB: (64,64,80) (25%, 25%, 31%)

RGB channels and saturation

R 64 of 255 = 25%
G 64 of 255 = 25%
B 80 of 255 = 31%

64
64
80

R + G + B ~ 27%. #404050 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 64 + 80 = 208 (100%)
R 64 of 208 ~ 30.77%
G 64 of 208 ~ 30.77%
B 80 of 208 ~ 38.46'%

%30.77
%30.77
%38.46

CMYK color model

#404050 color CMYK value is (20,20,0,69).

  • cyan value is 20.00%
  • magenta value is 20.00%
  • yellow value is 0.00%
  • key color value is 68.63%

CMYK: (20,20,0,69)
C20M20Y0K69 (20%, 20%, 0%, 69%)
(0.20 / 0.20 / 0.00 / 0.69)

CMYK percentages

%20
%20
%0
%68.63

Codes

Color #404050 in popluar color models

40 40 50
RGB 64 64 80
HSL 240° 11.11% 28.24%
HSB/HSV 240° 20.00% 31.37%
CMYK 20.00% 20.00% 0.00%
68.63%

Color #404050 in popluar number systems.

HEX 40 40 50
Decimal 64 64 80
Binary 1000000 1000000 1010000
Octal 100 100 120

Shades and tints

Shades of #404050

#404050
(64,64,80)
#3B3B49
(59,59,73)
#363642
(54,54,66)
#31313B
(49,49,59)
#2C2C34
(44,44,52)
#27272D
(39,39,45)
#222226
(34,34,38)
#1D1D1F
(29,29,31)
#181818
(24,24,24)
#131311
(19,19,17)
#0E0E0A
(14,14,10)
#000000
(0,0,0)

Tints of #404050

#404050
(64,64,80)
#51515F
(81,81,95)
#62626E
(98,98,110)
#73737D
(115,115,125)
#84848C
(132,132,140)
#95959B
(149,149,155)
#A6A6AA
(166,166,170)
#B7B7B9
(183,183,185)
#C8C8C8
(200,200,200)
#D9D9D7
(217,217,215)
#EAEAE6
(234,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #404050; }

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

This text font color is #404050.

Background Color

.myBgColor { background-color: #404050; }

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

This div background color is #404050.

Border color

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

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

This div border color is #404050.

Opacity

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

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

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

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

This text has shadow with #404050 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #404050.

Preview

Color preview on black background

This text has color #404050 on black background.


Color preview on white background

This text has color #404050 on white background.


Black color preview on #404050 background

This text has black color on #404050 background.


White color preview on #404050 background

This text has white color on #404050 background.


Related colors

Complementary color

Complementary color for #hex is #BFBFAF.


I love getcolorcode.com