COLOR #4D406B

HEX: #4D406B RGB: (77,64,107)

Color info

#4D406B contains red, green and blue colors in about the same proportion. Web safe color of #4D406B is #333366 (or #336).

RGB color model

#4D406B color RGB value is (77,64,107).

RGB: (77,64,107) (30%, 25%, 42%)

RGB channels and saturation

R 77 of 255 = 30%
G 64 of 255 = 25%
B 107 of 255 = 42%

77
64
107

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

Portions of RGB colors in percentages

R + G + B = 77 + 64 + 107 = 248 (100%)
R 77 of 248 ~ 31.05%
G 64 of 248 ~ 25.81%
B 107 of 248 ~ 43.15'%

%31.05
%25.81
%43.15

CMYK color model

#4D406B color CMYK value is (28,40,0,58).

  • cyan value is 28.04%
  • magenta value is 40.19%
  • yellow value is 0.00%
  • key color value is 58.04%

CMYK: (28,40,0,58)
C28M40Y0K58 (28%, 40%, 0%, 58%)
(0.28 / 0.40 / 0.00 / 0.58)

CMYK percentages

%28.04
%40.19
%0
%58.04

Codes

Color #4D406B in popluar color models

4D 40 6B
RGB 77 64 107
HSL 258° 25.15% 33.53%
HSB/HSV 258° 40.19% 41.96%
CMYK 28.04% 40.19% 0.00%
58.04%

Color #4D406B in popluar number systems.

HEX 4D 40 6B
Decimal 77 64 107
Binary 1001101 1000000 1101011
Octal 115 100 153

Shades and tints

Shades of #4D406B

#4D406B
(77,64,107)
#463B62
(70,59,98)
#3F3659
(63,54,89)
#383150
(56,49,80)
#312C47
(49,44,71)
#2A273E
(42,39,62)
#232235
(35,34,53)
#1C1D2C
(28,29,44)
#151823
(21,24,35)
#0E131A
(14,19,26)
#070E11
(7,14,17)
#000000
(0,0,0)

Tints of #4D406B

#4D406B
(77,64,107)
#5D5178
(93,81,120)
#6D6285
(109,98,133)
#7D7392
(125,115,146)
#8D849F
(141,132,159)
#9D95AC
(157,149,172)
#ADA6B9
(173,166,185)
#BDB7C6
(189,183,198)
#CDC8D3
(205,200,211)
#DDD9E0
(221,217,224)
#EDEAED
(237,234,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4D406B color. Also use rgb(77,64,107) instead hex code.

Text Font Color

.myTextColor { color: #4D406B; }

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

This text font color is #4D406B.

Background Color

.myBgColor { background-color: #4D406B; }

<div style="background-color:#4D406B">Inner text</div>

This div background color is #4D406B.

Border color

.myBorderColor { border: 1px solid #4D406B; }

<div style="border:3px solid #4D406B">Div</div>

This div border color is #4D406B.

Opacity

.myOpacity80 { color: #4D406B; opacity: 0.8; }

<p style="color:#4D406B;opacity:0.8;">80%</p>

Text with #4D406B 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 #4D406B;}

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

This text has shadow with #4D406B color.


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

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

This text has shadow with #4D406B primary color and red secondary color.


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

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

This text has shadow with #4D406B and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #4D406B.

Preview

Color preview on black background

This text has color #4D406B on black background.


Color preview on white background

This text has color #4D406B on white background.


Black color preview on #4D406B background

This text has black color on #4D406B background.


White color preview on #4D406B background

This text has white color on #4D406B background.


Related colors

Complementary color

Complementary color for #hex is #B2BF94.


I love getcolorcode.com

Triadic colors

1 #6B4D40 and #406B4D with #4D406B are triadic colors.

2 #6B404D and #404D6B with #4D406B are triadic colors.