COLOR #406E2F

HEX: #406E2F
RGB: (64,110,47)

Color info

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

RGB color model

#406E2F color RGB value is (64,110,47).

  • red value is 64;
  • green value is 110;
  • blue value is 47.
RGB:
(64,110,47)
(25%,43%,18%)

RGB channels and saturation

R 64 of 255 = 25%
G 110 of 255 = 43%
B 47 of 255 = 18%

64
110
47

R + G + B ~ 29%. #406E2F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 110 + 47 = 221 (100%)
R 64 of 221 ~ 28.96%
G 110 of 221 ~ 49.77%
B 47 of 221 ~ 21.27%

%28.96
%49.77
%21.27

CMYK color model

#406E2F color CMYK value is (42,0,57,57).

  • cyan value is 41.82%
  • magenta value is 0.00%
  • yellow value is 57.27%
  • key color value is 56.86%
CMYK:
(42,0,57,57)
C42M0Y57K57 
(42%,0%,57%,57%)
(0.42/0.00/0.57/0.57)	

CMYK percentages

%41.82
%0
%57.27
%56.86

Codes

Color #406E2F in popluar color models

406E2F
RGB6411047
HSL104°40.13%30.78%
HSB/HSV104°57.27%43.14%
CMYK41.82%0.00%57.27%
56.86%

Color #406E2F in popluar number systems.

HEX406E2F
Decimal6411047
Binary10000001101110101111
Octal10015657

Shades and tints

Shades of #406E2F

#406E2F
(64,110,47)
#3B642B
(59,100,43)
#365A27
(54,90,39)
#315023
(49,80,35)
#2C461F
(44,70,31)
#273C1B
(39,60,27)
#223217
(34,50,23)
#1D2813
(29,40,19)
#181E0F
(24,30,15)
#13140B
(19,20,11)
#0E0A07
(14,10,7)
#000000
(0,0,0)

Tints of #406E2F

#406E2F
(64,110,47)
#517B41
(81,123,65)
#628853
(98,136,83)
#739565
(115,149,101)
#84A277
(132,162,119)
#95AF89
(149,175,137)
#A6BC9B
(166,188,155)
#B7C9AD
(183,201,173)
#C8D6BF
(200,214,191)
#D9E3D1
(217,227,209)
#EAF0E3
(234,240,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #406E2F color. Also use rgb(64,110,47) instead hex code.

Text Font Color

.myTextColor { color: #406E2F; }

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

This text font color is #406E2F.


Background Color

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

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

This div background color is #406E2F.


Border color

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

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

This div border color is #406E2F.


Opacity

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

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

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

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

This text has shadow with #406E2F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #406E2F on black background.


Color preview on white background

This text has color #406E2F on white background.



Black color preview on #406E2F background

This text has black color on #406E2F background.


White color preview on #406E2F background

This text has white color on #406E2F background.