COLOR #406340

HEX: #406340 RGB: (64,99,64)

Color info

#406340 contains red, green and blue colors in about the same proportion. Web safe color of #406340 is #336633 (or #363).

RGB color model

#406340 color RGB value is (64,99,64).

RGB: (64,99,64) (25%, 39%, 25%)

RGB channels and saturation

R 64 of 255 = 25%
G 99 of 255 = 39%
B 64 of 255 = 25%

64
99
64

R + G + B ~ 30%. #406340 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 99 + 64 = 227 (100%)
R 64 of 227 ~ 28.19%
G 99 of 227 ~ 43.61%
B 64 of 227 ~ 28.19'%

%28.19
%43.61
%28.19

CMYK color model

#406340 color CMYK value is (35,0,35,61).

  • cyan value is 35.35%
  • magenta value is 0.00%
  • yellow value is 35.35%
  • key color value is 61.18%

CMYK: (35,0,35,61)
C35M0Y35K61 (35%, 0%, 35%, 61%)
(0.35 / 0.00 / 0.35 / 0.61)

CMYK percentages

%35.35
%0
%35.35
%61.18

Codes

Color #406340 in popluar color models

40 63 40
RGB 64 99 64
HSL 120° 21.47% 31.96%
HSB/HSV 120° 35.35% 38.82%
CMYK 35.35% 0.00% 35.35%
61.18%

Color #406340 in popluar number systems.

HEX 40 63 40
Decimal 64 99 64
Binary 1000000 1100011 1000000
Octal 100 143 100

Shades and tints

Shades of #406340

#406340
(64,99,64)
#3B5A3B
(59,90,59)
#365136
(54,81,54)
#314831
(49,72,49)
#2C3F2C
(44,63,44)
#273627
(39,54,39)
#222D22
(34,45,34)
#1D241D
(29,36,29)
#181B18
(24,27,24)
#131213
(19,18,19)
#0E090E
(14,9,14)
#000000
(0,0,0)

Tints of #406340

#406340
(64,99,64)
#517151
(81,113,81)
#627F62
(98,127,98)
#738D73
(115,141,115)
#849B84
(132,155,132)
#95A995
(149,169,149)
#A6B7A6
(166,183,166)
#B7C5B7
(183,197,183)
#C8D3C8
(200,211,200)
#D9E1D9
(217,225,217)
#EAEFEA
(234,239,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #406340 color. Also use rgb(64,99,64) instead hex code.

Text Font Color

.myTextColor { color: #406340; }

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

This text font color is #406340.

Background Color

.myBgColor { background-color: #406340; }

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

This div background color is #406340.

Border color

.myBorderColor { border: 1px solid #406340; }

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

This div border color is #406340.

Opacity

.myOpacity80 { color: #406340; opacity: 0.8; }

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

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

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

This text has shadow with #406340 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #406340.

Preview

Color preview on black background

This text has color #406340 on black background.


Color preview on white background

This text has color #406340 on white background.


Black color preview on #406340 background

This text has black color on #406340 background.


White color preview on #406340 background

This text has white color on #406340 background.


Related colors

Complementary color

Complementary color for #hex is #BF9CBF.


I love getcolorcode.com

Triadic colors

1 #404063 and #634040 with #406340 are triadic colors.

2 #406340 and #634040 with #406340 are triadic colors.