COLOR #406642

HEX: #406642 RGB: (64,102,66)

Color info

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

RGB color model

#406642 color RGB value is (64,102,66).

RGB: (64,102,66) (25%, 40%, 26%)

RGB channels and saturation

R 64 of 255 = 25%
G 102 of 255 = 40%
B 66 of 255 = 26%

64
102
66

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

Portions of RGB colors in percentages

R + G + B = 64 + 102 + 66 = 232 (100%)
R 64 of 232 ~ 27.59%
G 102 of 232 ~ 43.97%
B 66 of 232 ~ 28.45'%

%27.59
%43.97
%28.45

CMYK color model

#406642 color CMYK value is (37,0,35,60).

  • cyan value is 37.25%
  • magenta value is 0.00%
  • yellow value is 35.29%
  • key color value is 60.00%

CMYK: (37,0,35,60)
C37M0Y35K60 (37%, 0%, 35%, 60%)
(0.37 / 0.00 / 0.35 / 0.60)

CMYK percentages

%37.25
%0
%35.29
%60

Codes

Color #406642 in popluar color models

40 66 42
RGB 64 102 66
HSL 123° 22.89% 32.55%
HSB/HSV 123° 37.25% 40.00%
CMYK 37.25% 0.00% 35.29%
60.00%

Color #406642 in popluar number systems.

HEX 40 66 42
Decimal 64 102 66
Binary 1000000 1100110 1000010
Octal 100 146 102

Shades and tints

Shades of #406642

#406642
(64,102,66)
#3B5D3C
(59,93,60)
#365436
(54,84,54)
#314B30
(49,75,48)
#2C422A
(44,66,42)
#273924
(39,57,36)
#22301E
(34,48,30)
#1D2718
(29,39,24)
#181E12
(24,30,18)
#13150C
(19,21,12)
#0E0C06
(14,12,6)
#000000
(0,0,0)

Tints of #406642

#406642
(64,102,66)
#517353
(81,115,83)
#628064
(98,128,100)
#738D75
(115,141,117)
#849A86
(132,154,134)
#95A797
(149,167,151)
#A6B4A8
(166,180,168)
#B7C1B9
(183,193,185)
#C8CECA
(200,206,202)
#D9DBDB
(217,219,219)
#EAE8EC
(234,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #406642; }

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

This text font color is #406642.

Background Color

.myBgColor { background-color: #406642; }

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

This div background color is #406642.

Border color

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

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

This div border color is #406642.

Opacity

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

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

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

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

This text has shadow with #406642 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #406642.

Preview

Color preview on black background

This text has color #406642 on black background.


Color preview on white background

This text has color #406642 on white background.


Black color preview on #406642 background

This text has black color on #406642 background.


White color preview on #406642 background

This text has white color on #406642 background.


Related colors

Complementary color

Complementary color for #hex is #BF99BD.


I love getcolorcode.com

Triadic colors

1 #424066 and #664240 with #406642 are triadic colors.

2 #426640 and #664042 with #406642 are triadic colors.