COLOR #404064

HEX: #404064 RGB: (64,64,100)

Color info

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

RGB color model

#404064 color RGB value is (64,64,100).

RGB: (64,64,100) (25%, 25%, 39%)

RGB channels and saturation

R 64 of 255 = 25%
G 64 of 255 = 25%
B 100 of 255 = 39%

64
64
100

R + G + B ~ 30%. #404064 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 64 + 100 = 228 (100%)
R 64 of 228 ~ 28.07%
G 64 of 228 ~ 28.07%
B 100 of 228 ~ 43.86'%

%28.07
%28.07
%43.86

CMYK color model

#404064 color CMYK value is (36,36,0,61).

  • cyan value is 36.00%
  • magenta value is 36.00%
  • yellow value is 0.00%
  • key color value is 60.78%

CMYK: (36,36,0,61)
C36M36Y0K61 (36%, 36%, 0%, 61%)
(0.36 / 0.36 / 0.00 / 0.61)

CMYK percentages

%36
%36
%0
%60.78

Codes

Color #404064 in popluar color models

40 40 64
RGB 64 64 100
HSL 240° 21.95% 32.16%
HSB/HSV 240° 36.00% 39.22%
CMYK 36.00% 36.00% 0.00%
60.78%

Color #404064 in popluar number systems.

HEX 40 40 64
Decimal 64 64 100
Binary 1000000 1000000 1100100
Octal 100 100 144

Shades and tints

Shades of #404064

#404064
(64,64,100)
#3B3B5B
(59,59,91)
#363652
(54,54,82)
#313149
(49,49,73)
#2C2C40
(44,44,64)
#272737
(39,39,55)
#22222E
(34,34,46)
#1D1D25
(29,29,37)
#18181C
(24,24,28)
#131313
(19,19,19)
#0E0E0A
(14,14,10)
#000000
(0,0,0)

Tints of #404064

#404064
(64,64,100)
#515172
(81,81,114)
#626280
(98,98,128)
#73738E
(115,115,142)
#84849C
(132,132,156)
#9595AA
(149,149,170)
#A6A6B8
(166,166,184)
#B7B7C6
(183,183,198)
#C8C8D4
(200,200,212)
#D9D9E2
(217,217,226)
#EAEAF0
(234,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #404064; }

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

This text font color is #404064.

Background Color

.myBgColor { background-color: #404064; }

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

This div background color is #404064.

Border color

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

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

This div border color is #404064.

Opacity

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

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

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

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

This text has shadow with #404064 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #404064.

Preview

Color preview on black background

This text has color #404064 on black background.


Color preview on white background

This text has color #404064 on white background.


Black color preview on #404064 background

This text has black color on #404064 background.


White color preview on #404064 background

This text has white color on #404064 background.


Related colors

Complementary color

Complementary color for #hex is #BFBF9B.


I love getcolorcode.com