COLOR #40504A

HEX: #40504A RGB: (64,80,74)

Color info

#40504A contains red, green and blue colors in about the same proportion. Web safe color of #40504A is #336633 (or #363).

RGB color model

#40504A color RGB value is (64,80,74).

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

RGB channels and saturation

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

64
80
74

R + G + B ~ 28%. #40504A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 80 + 74 = 218 (100%)
R 64 of 218 ~ 29.36%
G 80 of 218 ~ 36.7%
B 74 of 218 ~ 33.94'%

%29.36
%36.7
%33.94

CMYK color model

#40504A color CMYK value is (20,0,7,69).

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

CMYK: (20,0,7,69)
C20M0Y7K69 (20%, 0%, 7%, 69%)
(0.20 / 0.00 / 0.07 / 0.69)

CMYK percentages

%20
%0
%7.5
%68.63

Codes

Color #40504A in popluar color models

40 50 4A
RGB 64 80 74
HSL 158° 11.11% 28.24%
HSB/HSV 158° 20.00% 31.37%
CMYK 20.00% 0.00% 7.50%
68.63%

Color #40504A in popluar number systems.

HEX 40 50 4A
Decimal 64 80 74
Binary 1000000 1010000 1001010
Octal 100 120 112

Shades and tints

Shades of #40504A

#40504A
(64,80,74)
#3B4944
(59,73,68)
#36423E
(54,66,62)
#313B38
(49,59,56)
#2C3432
(44,52,50)
#272D2C
(39,45,44)
#222626
(34,38,38)
#1D1F20
(29,31,32)
#18181A
(24,24,26)
#131114
(19,17,20)
#0E0A0E
(14,10,14)
#000000
(0,0,0)

Tints of #40504A

#40504A
(64,80,74)
#515F5A
(81,95,90)
#626E6A
(98,110,106)
#737D7A
(115,125,122)
#848C8A
(132,140,138)
#959B9A
(149,155,154)
#A6AAAA
(166,170,170)
#B7B9BA
(183,185,186)
#C8C8CA
(200,200,202)
#D9D7DA
(217,215,218)
#EAE6EA
(234,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40504A; }

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

This text font color is #40504A.

Background Color

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

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

This div background color is #40504A.

Border color

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

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

This div border color is #40504A.

Opacity

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

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

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

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

This text has shadow with #40504A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40504A.

Preview

Color preview on black background

This text has color #40504A on black background.


Color preview on white background

This text has color #40504A on white background.


Black color preview on #40504A background

This text has black color on #40504A background.


White color preview on #40504A background

This text has white color on #40504A background.


Related colors

Complementary color

Complementary color for #hex is #BFAFB5.


I love getcolorcode.com

Triadic colors

1 #4A4050 and #504A40 with #40504A are triadic colors.

2 #4A5040 and #50404A with #40504A are triadic colors.