COLOR #40506D

HEX: #40506D RGB: (64,80,109)

Color info

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

RGB color model

#40506D color RGB value is (64,80,109).

RGB: (64,80,109) (25%, 31%, 43%)

RGB channels and saturation

R 64 of 255 = 25%
G 80 of 255 = 31%
B 109 of 255 = 43%

64
80
109

R + G + B ~ 33%. #40506D is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 80 + 109 = 253 (100%)
R 64 of 253 ~ 25.3%
G 80 of 253 ~ 31.62%
B 109 of 253 ~ 43.08'%

%25.3
%31.62
%43.08

CMYK color model

#40506D color CMYK value is (41,27,0,57).

  • cyan value is 41.28%
  • magenta value is 26.61%
  • yellow value is 0.00%
  • key color value is 57.25%
CMYK: (41,27,0,57) C41M27Y0K57 (41%,27%,0%,57%) (0.41/0.27/0.00/0.57) 

CMYK percentages

%41.28
%26.61
%0
%57.25

Codes

Color #40506D in popluar color models

40 50 6D
RGB 64 80 109
HSL 219° 26.01% 33.92%
HSB/HSV 219° 41.28% 42.75%
CMYK 41.28% 26.61% 0.00%
57.25%

Color #40506D in popluar number systems.

HEX 40 50 6D
Decimal 64 80 109
Binary 1000000 1010000 1101101
Octal 100 120 155

Shades and tints

Shades of #40506D

#40506D
(64,80,109)
#3B4964
(59,73,100)
#36425B
(54,66,91)
#313B52
(49,59,82)
#2C3449
(44,52,73)
#272D40
(39,45,64)
#222637
(34,38,55)
#1D1F2E
(29,31,46)
#181825
(24,24,37)
#13111C
(19,17,28)
#0E0A13
(14,10,19)
#000000
(0,0,0)

Tints of #40506D

#40506D
(64,80,109)
#515F7A
(81,95,122)
#626E87
(98,110,135)
#737D94
(115,125,148)
#848CA1
(132,140,161)
#959BAE
(149,155,174)
#A6AABB
(166,170,187)
#B7B9C8
(183,185,200)
#C8C8D5
(200,200,213)
#D9D7E2
(217,215,226)
#EAE6EF
(234,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40506D color. Also use rgb(64,80,109) instead hex code.

Text Font Color

.myTextColor { color: #40506D; }

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

This text font color is #40506D.

Background Color

.myBgColor { background-color: #40506D; }

<div style="background-color:#40506D">Inner text</div>

This div background color is #40506D.

Border color

.myBorderColor { border: 1px solid #40506D; }

<div style="border:3px solid #40506D">Div</div>

This div border color is #40506D.

Opacity

.myOpacity80 { color: #40506D; opacity: 0.8; }

<p style="color:#40506D;opacity:0.8;">80%</p>

Text with #40506D 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 #40506D;}

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

This text has shadow with #40506D color.


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

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

This text has shadow with #40506D primary color and red secondary color.


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

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

This text has shadow with #40506D and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #40506D.

Preview

Color preview on black background

This text has color #40506D on black background.


Color preview on white background

This text has color #40506D on white background.


Black color preview on #40506D background

This text has black color on #40506D background.


White color preview on #40506D background

This text has white color on #40506D background.


Related colors

Complementary color

Complementary color for #hex is #BFAF92.


I love getcolorcode.com

Triadic colors

1 #6D4050 and #506D40 with #40506D are triadic colors.

2 #6D5040 and #50406D with #40506D are triadic colors.