COLOR #406D2B

HEX: #406D2B RGB: (64,109,43)

Color info

#406D2B contains mainly red and green colors. Web safe color of #406D2B is #336633 (or #363).

RGB color model

#406D2B color RGB value is (64,109,43).

RGB: (64,109,43) (25%, 43%, 17%)

RGB channels and saturation

R 64 of 255 = 25%
G 109 of 255 = 43%
B 43 of 255 = 17%

64
109
43

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

Portions of RGB colors in percentages

R + G + B = 64 + 109 + 43 = 216 (100%)
R 64 of 216 ~ 29.63%
G 109 of 216 ~ 50.46%
B 43 of 216 ~ 19.91'%

%29.63
%50.46
%19.91

CMYK color model

#406D2B color CMYK value is (41,0,61,57).

  • cyan value is 41.28%
  • magenta value is 0.00%
  • yellow value is 60.55%
  • key color value is 57.25%

CMYK: (41,0,61,57)
C41M0Y61K57 (41%, 0%, 61%, 57%)
(0.41 / 0.00 / 0.61 / 0.57)

CMYK percentages

%41.28
%0
%60.55
%57.25

Codes

Color #406D2B in popluar color models

40 6D 2B
RGB 64 109 43
HSL 101° 43.42% 29.80%
HSB/HSV 101° 60.55% 42.75%
CMYK 41.28% 0.00% 60.55%
57.25%

Color #406D2B in popluar number systems.

HEX 40 6D 2B
Decimal 64 109 43
Binary 1000000 1101101 101011
Octal 100 155 53

Shades and tints

Shades of #406D2B

#406D2B
(64,109,43)
#3B6428
(59,100,40)
#365B25
(54,91,37)
#315222
(49,82,34)
#2C491F
(44,73,31)
#27401C
(39,64,28)
#223719
(34,55,25)
#1D2E16
(29,46,22)
#182513
(24,37,19)
#131C10
(19,28,16)
#0E130D
(14,19,13)
#000000
(0,0,0)

Tints of #406D2B

#406D2B
(64,109,43)
#517A3E
(81,122,62)
#628751
(98,135,81)
#739464
(115,148,100)
#84A177
(132,161,119)
#95AE8A
(149,174,138)
#A6BB9D
(166,187,157)
#B7C8B0
(183,200,176)
#C8D5C3
(200,213,195)
#D9E2D6
(217,226,214)
#EAEFE9
(234,239,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #406D2B color. Also use rgb(64,109,43) instead hex code.

Text Font Color

.myTextColor { color: #406D2B; }

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

This text font color is #406D2B.

Background Color

.myBgColor { background-color: #406D2B; }

<div style="background-color:#406D2B">Inner text</div>

This div background color is #406D2B.

Border color

.myBorderColor { border: 1px solid #406D2B; }

<div style="border:3px solid #406D2B">Div</div>

This div border color is #406D2B.

Opacity

.myOpacity80 { color: #406D2B; opacity: 0.8; }

<p style="color:#406D2B;opacity:0.8;">80%</p>

Text with #406D2B 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 #406D2B;}

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

This text has shadow with #406D2B color.


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

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

This text has shadow with #406D2B primary color and red secondary color.


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

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

This text has shadow with #406D2B and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #406D2B.

Preview

Color preview on black background

This text has color #406D2B on black background.


Color preview on white background

This text has color #406D2B on white background.


Black color preview on #406D2B background

This text has black color on #406D2B background.


White color preview on #406D2B background

This text has white color on #406D2B background.


Related colors

Complementary color

Complementary color for #hex is #BF92D4.


I love getcolorcode.com

Triadic colors

1 #2B406D and #6D2B40 with #406D2B are triadic colors.

2 #2B6D40 and #6D402B with #406D2B are triadic colors.