COLOR #40504B

HEX: #40504B
RGB: (64,80,75)

Color info

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

RGB color model

#40504B color RGB value is (64,80,75).

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

RGB channels and saturation

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

64
80
75

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

Portions of RGB colors in percentages

R + G + B =
64 + 80 + 75 = 219 (100%)
R 64 of 219 ~ 29.22%
G 80 of 219 ~ 36.53%
B 75 of 219 ~ 34.25%

%29.22
%36.53
%34.25

CMYK color model

#40504B color CMYK value is (20,0,6,69).

  • cyan value is 20.00%
  • magenta value is 0.00%
  • yellow value is 6.25%
  • key color value is 68.63%
CMYK:
(20,0,6,69)
C20M0Y6K69 
(20%,0%,6%,69%)
(0.20/0.00/0.06/0.69)	

CMYK percentages

%20
%0
%6.25
%68.63

Codes

Color #40504B in popluar color models

40504B
RGB648075
HSL161°11.11%28.24%
HSB/HSV161°20.00%31.37%
CMYK20.00%0.00%6.25%
68.63%

Color #40504B in popluar number systems.

HEX40504B
Decimal648075
Binary100000010100001001011
Octal100120113

Shades and tints

Shades of #40504B

#40504B
(64,80,75)
#3B4945
(59,73,69)
#36423F
(54,66,63)
#313B39
(49,59,57)
#2C3433
(44,52,51)
#272D2D
(39,45,45)
#222627
(34,38,39)
#1D1F21
(29,31,33)
#18181B
(24,24,27)
#131115
(19,17,21)
#0E0A0F
(14,10,15)
#000000
(0,0,0)

Tints of #40504B

#40504B
(64,80,75)
#515F5B
(81,95,91)
#626E6B
(98,110,107)
#737D7B
(115,125,123)
#848C8B
(132,140,139)
#959B9B
(149,155,155)
#A6AAAB
(166,170,171)
#B7B9BB
(183,185,187)
#C8C8CB
(200,200,203)
#D9D7DB
(217,215,219)
#EAE6EB
(234,230,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40504B; }

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

This text font color is #40504B.


Background Color

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

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

This div background color is #40504B.


Border color

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

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

This div border color is #40504B.


Opacity

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

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

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

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

This text has shadow with #40504B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40504B on black background.


Color preview on white background

This text has color #40504B on white background.



Black color preview on #40504B background

This text has black color on #40504B background.


White color preview on #40504B background

This text has white color on #40504B background.