COLOR #40595B

HEX: #40595B RGB: (64,89,91)

Color info

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

RGB color model

#40595B color RGB value is (64,89,91).

RGB: (64,89,91) (25%, 35%, 36%)

RGB channels and saturation

R 64 of 255 = 25%
G 89 of 255 = 35%
B 91 of 255 = 36%

64
89
91

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

Portions of RGB colors in percentages

R + G + B = 64 + 89 + 91 = 244 (100%)
R 64 of 244 ~ 26.23%
G 89 of 244 ~ 36.48%
B 91 of 244 ~ 37.3'%

%26.23
%36.48
%37.3

CMYK color model

#40595B color CMYK value is (30,2,0,64).

  • cyan value is 29.67%
  • magenta value is 2.20%
  • yellow value is 0.00%
  • key color value is 64.31%

CMYK: (30,2,0,64)
C30M2Y0K64 (30%, 2%, 0%, 64%)
(0.30 / 0.02 / 0.00 / 0.64)

CMYK percentages

%29.67
%2.2
%0
%64.31

Codes

Color #40595B in popluar color models

40 59 5B
RGB 64 89 91
HSL 184° 17.42% 30.39%
HSB/HSV 184° 29.67% 35.69%
CMYK 29.67% 2.20% 0.00%
64.31%

Color #40595B in popluar number systems.

HEX 40 59 5B
Decimal 64 89 91
Binary 1000000 1011001 1011011
Octal 100 131 133

Shades and tints

Shades of #40595B

#40595B
(64,89,91)
#3B5153
(59,81,83)
#36494B
(54,73,75)
#314143
(49,65,67)
#2C393B
(44,57,59)
#273133
(39,49,51)
#22292B
(34,41,43)
#1D2123
(29,33,35)
#18191B
(24,25,27)
#131113
(19,17,19)
#0E090B
(14,9,11)
#000000
(0,0,0)

Tints of #40595B

#40595B
(64,89,91)
#516869
(81,104,105)
#627777
(98,119,119)
#738685
(115,134,133)
#849593
(132,149,147)
#95A4A1
(149,164,161)
#A6B3AF
(166,179,175)
#B7C2BD
(183,194,189)
#C8D1CB
(200,209,203)
#D9E0D9
(217,224,217)
#EAEFE7
(234,239,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40595B; }

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

This text font color is #40595B.

Background Color

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

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

This div background color is #40595B.

Border color

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

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

This div border color is #40595B.

Opacity

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

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

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

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

This text has shadow with #40595B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40595B.

Preview

Color preview on black background

This text has color #40595B on black background.


Color preview on white background

This text has color #40595B on white background.


Black color preview on #40595B background

This text has black color on #40595B background.


White color preview on #40595B background

This text has white color on #40595B background.


Related colors

Complementary color

Complementary color for #hex is #BFA6A4.


I love getcolorcode.com

Triadic colors

1 #5B4059 and #595B40 with #40595B are triadic colors.

2 #5B5940 and #59405B with #40595B are triadic colors.