COLOR #40424F

HEX: #40424F
RGB: (64,66,79)

Color info

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

RGB color model

#40424F color RGB value is (64,66,79).

  • red value is 64;
  • green value is 66;
  • blue value is 79.
RGB:
(64,66,79)
(25%,26%,31%)

RGB channels and saturation

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

64
66
79

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

Portions of RGB colors in percentages

R + G + B =
64 + 66 + 79 = 209 (100%)
R 64 of 209 ~ 30.62%
G 66 of 209 ~ 31.58%
B 79 of 209 ~ 37.8%

%30.62
%31.58
%37.8

CMYK color model

#40424F color CMYK value is (19,16,0,69).

  • cyan value is 18.99%
  • magenta value is 16.46%
  • yellow value is 0.00%
  • key color value is 69.02%
CMYK:
(19,16,0,69)
C19M16Y0K69 
(19%,16%,0%,69%)
(0.19/0.16/0.00/0.69)	

CMYK percentages

%18.99
%16.46
%0
%69.02

Codes

Color #40424F in popluar color models

40424F
RGB646679
HSL232°10.49%28.04%
HSB/HSV232°18.99%30.98%
CMYK18.99%16.46%0.00%
69.02%

Color #40424F in popluar number systems.

HEX40424F
Decimal646679
Binary100000010000101001111
Octal100102117

Shades and tints

Shades of #40424F

#40424F
(64,66,79)
#3B3C48
(59,60,72)
#363641
(54,54,65)
#31303A
(49,48,58)
#2C2A33
(44,42,51)
#27242C
(39,36,44)
#221E25
(34,30,37)
#1D181E
(29,24,30)
#181217
(24,18,23)
#130C10
(19,12,16)
#0E0609
(14,6,9)
#000000
(0,0,0)

Tints of #40424F

#40424F
(64,66,79)
#51535F
(81,83,95)
#62646F
(98,100,111)
#73757F
(115,117,127)
#84868F
(132,134,143)
#95979F
(149,151,159)
#A6A8AF
(166,168,175)
#B7B9BF
(183,185,191)
#C8CACF
(200,202,207)
#D9DBDF
(217,219,223)
#EAECEF
(234,236,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40424F; }

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

This text font color is #40424F.


Background Color

.myBgColor { background-color: #40424F; }

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

This div background color is #40424F.


Border color

.myBorderColor { border: 1px solid #40424F; }

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

This div border color is #40424F.


Opacity

.myOpacity80 { color: #40424F; opacity: 0.8; }

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

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

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

This text has shadow with #40424F color.

.textShadow {text-shadow: 3px 3px 1px #40424F, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #40424F;
-webkit-box-shadow: 1px 1px 3px 2px #40424F;
box-shadow:1px 1px 3px 2px #40424F;">
Div content here</div>
This div box has shadow with color #40424F.

Preview

Color preview on black background

This text has color #40424F on black background.


Color preview on white background

This text has color #40424F on white background.



Black color preview on #40424F background

This text has black color on #40424F background.


White color preview on #40424F background

This text has white color on #40424F background.