COLOR #40595F

HEX: #40595F
RGB: (64,89,95)

Color info

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

RGB color model

#40595F color RGB value is (64,89,95).

  • red value is 64;
  • green value is 89;
  • blue value is 95.
RGB:
(64,89,95)
(25%,35%,37%)

RGB channels and saturation

R 64 of 255 = 25%
G 89 of 255 = 35%
B 95 of 255 = 37%

64
89
95

R + G + B ~ 32%. #40595F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 89 + 95 = 248 (100%)
R 64 of 248 ~ 25.81%
G 89 of 248 ~ 35.89%
B 95 of 248 ~ 38.31%

%25.81
%35.89
%38.31

CMYK color model

#40595F color CMYK value is (33,6,0,63).

  • cyan value is 32.63%
  • magenta value is 6.32%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK:
(33,6,0,63)
C33M6Y0K63 
(33%,6%,0%,63%)
(0.33/0.06/0.00/0.63)	

CMYK percentages

%32.63
%6.32
%0
%62.75

Codes

Color #40595F in popluar color models

40595F
RGB648995
HSL192°19.50%31.18%
HSB/HSV192°32.63%37.25%
CMYK32.63%6.32%0.00%
62.75%

Color #40595F in popluar number systems.

HEX40595F
Decimal648995
Binary100000010110011011111
Octal100131137

Shades and tints

Shades of #40595F

#40595F
(64,89,95)
#3B5157
(59,81,87)
#36494F
(54,73,79)
#314147
(49,65,71)
#2C393F
(44,57,63)
#273137
(39,49,55)
#22292F
(34,41,47)
#1D2127
(29,33,39)
#18191F
(24,25,31)
#131117
(19,17,23)
#0E090F
(14,9,15)
#000000
(0,0,0)

Tints of #40595F

#40595F
(64,89,95)
#51686D
(81,104,109)
#62777B
(98,119,123)
#738689
(115,134,137)
#849597
(132,149,151)
#95A4A5
(149,164,165)
#A6B3B3
(166,179,179)
#B7C2C1
(183,194,193)
#C8D1CF
(200,209,207)
#D9E0DD
(217,224,221)
#EAEFEB
(234,239,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40595F color. Also use rgb(64,89,95) instead hex code.

Text Font Color

.myTextColor { color: #40595F; }

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

This text font color is #40595F.


Background Color

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

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

This div background color is #40595F.


Border color

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

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

This div border color is #40595F.


Opacity

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

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

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

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

This text has shadow with #40595F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40595F on black background.


Color preview on white background

This text has color #40595F on white background.



Black color preview on #40595F background

This text has black color on #40595F background.


White color preview on #40595F background

This text has white color on #40595F background.