COLOR #40504E

HEX: #40504E
RGB: (64,80,78)

Color info

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

RGB color model

#40504E color RGB value is (64,80,78).

  • red value is 64;
  • green value is 80;
  • blue value is 78.
RGB:
(64,80,78)
(25%,31%,31%)

RGB channels and saturation

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

64
80
78

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

Portions of RGB colors in percentages

R + G + B =
64 + 80 + 78 = 222 (100%)
R 64 of 222 ~ 28.83%
G 80 of 222 ~ 36.04%
B 78 of 222 ~ 35.14%

%28.83
%36.04
%35.14

CMYK color model

#40504E color CMYK value is (20,0,2,69).

  • cyan value is 20.00%
  • magenta value is 0.00%
  • yellow value is 2.50%
  • key color value is 68.63%
CMYK:
(20,0,2,69)
C20M0Y2K69 
(20%,0%,2%,69%)
(0.20/0.00/0.02/0.69)	

CMYK percentages

%20
%0
%2.5
%68.63

Codes

Color #40504E in popluar color models

40504E
RGB648078
HSL173°11.11%28.24%
HSB/HSV173°20.00%31.37%
CMYK20.00%0.00%2.50%
68.63%

Color #40504E in popluar number systems.

HEX40504E
Decimal648078
Binary100000010100001001110
Octal100120116

Shades and tints

Shades of #40504E

#40504E
(64,80,78)
#3B4947
(59,73,71)
#364240
(54,66,64)
#313B39
(49,59,57)
#2C3432
(44,52,50)
#272D2B
(39,45,43)
#222624
(34,38,36)
#1D1F1D
(29,31,29)
#181816
(24,24,22)
#13110F
(19,17,15)
#0E0A08
(14,10,8)
#000000
(0,0,0)

Tints of #40504E

#40504E
(64,80,78)
#515F5E
(81,95,94)
#626E6E
(98,110,110)
#737D7E
(115,125,126)
#848C8E
(132,140,142)
#959B9E
(149,155,158)
#A6AAAE
(166,170,174)
#B7B9BE
(183,185,190)
#C8C8CE
(200,200,206)
#D9D7DE
(217,215,222)
#EAE6EE
(234,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40504E; }

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

This text font color is #40504E.


Background Color

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

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

This div background color is #40504E.


Border color

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

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

This div border color is #40504E.


Opacity

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

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

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

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

This text has shadow with #40504E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40504E on black background.


Color preview on white background

This text has color #40504E on white background.



Black color preview on #40504E background

This text has black color on #40504E background.


White color preview on #40504E background

This text has white color on #40504E background.