COLOR #40504F

HEX: #40504F RGB: (64,80,79)

Color info

#40504F contains red, green and blue colors in about the same proportion. Web safe color of #40504F is #336666 (or #366).

RGB color model

#40504F color RGB value is (64,80,79).

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

RGB channels and saturation

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

64
80
79

R + G + B ~ 29%. #40504F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 80 + 79 = 223 (100%)
R 64 of 223 ~ 28.7%
G 80 of 223 ~ 35.87%
B 79 of 223 ~ 35.43'%

%28.7
%35.87
%35.43

CMYK color model

#40504F color CMYK value is (20,0,1,69).

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

CMYK: (20,0,1,69)
C20M0Y1K69 (20%, 0%, 1%, 69%)
(0.20 / 0.00 / 0.01 / 0.69)

CMYK percentages

%20
%0
%1.25
%68.63

Codes

Color #40504F in popluar color models

40 50 4F
RGB 64 80 79
HSL 176° 11.11% 28.24%
HSB/HSV 176° 20.00% 31.37%
CMYK 20.00% 0.00% 1.25%
68.63%

Color #40504F in popluar number systems.

HEX 40 50 4F
Decimal 64 80 79
Binary 1000000 1010000 1001111
Octal 100 120 117

Shades and tints

Shades of #40504F

#40504F
(64,80,79)
#3B4948
(59,73,72)
#364241
(54,66,65)
#313B3A
(49,59,58)
#2C3433
(44,52,51)
#272D2C
(39,45,44)
#222625
(34,38,37)
#1D1F1E
(29,31,30)
#181817
(24,24,23)
#131110
(19,17,16)
#0E0A09
(14,10,9)
#000000
(0,0,0)

Tints of #40504F

#40504F
(64,80,79)
#515F5F
(81,95,95)
#626E6F
(98,110,111)
#737D7F
(115,125,127)
#848C8F
(132,140,143)
#959B9F
(149,155,159)
#A6AAAF
(166,170,175)
#B7B9BF
(183,185,191)
#C8C8CF
(200,200,207)
#D9D7DF
(217,215,223)
#EAE6EF
(234,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40504F; }

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

This text font color is #40504F.

Background Color

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

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

This div background color is #40504F.

Border color

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

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

This div border color is #40504F.

Opacity

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

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

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

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

This text has shadow with #40504F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40504F.

Preview

Color preview on black background

This text has color #40504F on black background.


Color preview on white background

This text has color #40504F on white background.


Black color preview on #40504F background

This text has black color on #40504F background.


White color preview on #40504F background

This text has white color on #40504F background.


Related colors

Complementary color

Complementary color for #hex is #BFAFB0.


I love getcolorcode.com

Triadic colors

1 #4F4050 and #504F40 with #40504F are triadic colors.

2 #4F5040 and #50404F with #40504F are triadic colors.