COLOR #406A2E

HEX: #406A2E
RGB: (64,106,46)

Color info

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

RGB color model

#406A2E color RGB value is (64,106,46).

  • red value is 64;
  • green value is 106;
  • blue value is 46.
RGB:
(64,106,46)
(25%,42%,18%)

RGB channels and saturation

R 64 of 255 = 25%
G 106 of 255 = 42%
B 46 of 255 = 18%

64
106
46

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

Portions of RGB colors in percentages

R + G + B =
64 + 106 + 46 = 216 (100%)
R 64 of 216 ~ 29.63%
G 106 of 216 ~ 49.07%
B 46 of 216 ~ 21.3%

%29.63
%49.07
%21.3

CMYK color model

#406A2E color CMYK value is (40,0,57,58).

  • cyan value is 39.62%
  • magenta value is 0.00%
  • yellow value is 56.60%
  • key color value is 58.43%
CMYK:
(40,0,57,58)
C40M0Y57K58 
(40%,0%,57%,58%)
(0.40/0.00/0.57/0.58)	

CMYK percentages

%39.62
%0
%56.6
%58.43

Codes

Color #406A2E in popluar color models

406A2E
RGB6410646
HSL102°39.47%29.80%
HSB/HSV102°56.60%41.57%
CMYK39.62%0.00%56.60%
58.43%

Color #406A2E in popluar number systems.

HEX406A2E
Decimal6410646
Binary10000001101010101110
Octal10015256

Shades and tints

Shades of #406A2E

#406A2E
(64,106,46)
#3B612A
(59,97,42)
#365826
(54,88,38)
#314F22
(49,79,34)
#2C461E
(44,70,30)
#273D1A
(39,61,26)
#223416
(34,52,22)
#1D2B12
(29,43,18)
#18220E
(24,34,14)
#13190A
(19,25,10)
#0E1006
(14,16,6)
#000000
(0,0,0)

Tints of #406A2E

#406A2E
(64,106,46)
#517741
(81,119,65)
#628454
(98,132,84)
#739167
(115,145,103)
#849E7A
(132,158,122)
#95AB8D
(149,171,141)
#A6B8A0
(166,184,160)
#B7C5B3
(183,197,179)
#C8D2C6
(200,210,198)
#D9DFD9
(217,223,217)
#EAECEC
(234,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #406A2E color. Also use rgb(64,106,46) instead hex code.

Text Font Color

.myTextColor { color: #406A2E; }

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

This text font color is #406A2E.


Background Color

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

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

This div background color is #406A2E.


Border color

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

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

This div border color is #406A2E.


Opacity

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

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

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

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

This text has shadow with #406A2E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #406A2E on black background.


Color preview on white background

This text has color #406A2E on white background.



Black color preview on #406A2E background

This text has black color on #406A2E background.


White color preview on #406A2E background

This text has white color on #406A2E background.