COLOR #406A40

HEX: #406A40
RGB: (64,106,64)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

64
106
64

R + G + B ~ 31%. #406A40 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 106 + 64 = 234 (100%)
R 64 of 234 ~ 27.35%
G 106 of 234 ~ 45.3%
B 64 of 234 ~ 27.35%

%27.35
%45.3
%27.35

CMYK color model

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

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

CMYK percentages

%39.62
%0
%39.62
%58.43

Codes

Color #406A40 in popluar color models

406A40
RGB6410664
HSL120°24.71%33.33%
HSB/HSV120°39.62%41.57%
CMYK39.62%0.00%39.62%
58.43%

Color #406A40 in popluar number systems.

HEX406A40
Decimal6410664
Binary100000011010101000000
Octal100152100

Shades and tints

Shades of #406A40

#406A40
(64,106,64)
#3B613B
(59,97,59)
#365836
(54,88,54)
#314F31
(49,79,49)
#2C462C
(44,70,44)
#273D27
(39,61,39)
#223422
(34,52,34)
#1D2B1D
(29,43,29)
#182218
(24,34,24)
#131913
(19,25,19)
#0E100E
(14,16,14)
#000000
(0,0,0)

Tints of #406A40

#406A40
(64,106,64)
#517751
(81,119,81)
#628462
(98,132,98)
#739173
(115,145,115)
#849E84
(132,158,132)
#95AB95
(149,171,149)
#A6B8A6
(166,184,166)
#B7C5B7
(183,197,183)
#C8D2C8
(200,210,200)
#D9DFD9
(217,223,217)
#EAECEA
(234,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #406A40; }

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

This text font color is #406A40.


Background Color

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

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

This div background color is #406A40.


Border color

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

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

This div border color is #406A40.


Opacity

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

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

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

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

This text has shadow with #406A40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #406A40 on black background.


Color preview on white background

This text has color #406A40 on white background.



Black color preview on #406A40 background

This text has black color on #406A40 background.


White color preview on #406A40 background

This text has white color on #406A40 background.