COLOR #406B2A

HEX: #406B2A RGB: (64,107,42)

Color info

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

RGB color model

#406B2A color RGB value is (64,107,42).

RGB: (64,107,42) (25%, 42%, 16%)

RGB channels and saturation

R 64 of 255 = 25%
G 107 of 255 = 42%
B 42 of 255 = 16%

64
107
42

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

Portions of RGB colors in percentages

R + G + B = 64 + 107 + 42 = 213 (100%)
R 64 of 213 ~ 30.05%
G 107 of 213 ~ 50.23%
B 42 of 213 ~ 19.72'%

%30.05
%50.23
%19.72

CMYK color model

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

  • cyan value is 40.19%
  • magenta value is 0.00%
  • yellow value is 60.75%
  • key color value is 58.04%
CMYK: (40,0,61,58) C40M0Y61K58 (40%,0%,61%,58%) (0.40/0.00/0.61/0.58) 

CMYK percentages

%40.19
%0
%60.75
%58.04

Codes

Color #406B2A in popluar color models

40 6B 2A
RGB 64 107 42
HSL 100° 43.62% 29.22%
HSB/HSV 100° 60.75% 41.96%
CMYK 40.19% 0.00% 60.75%
58.04%

Color #406B2A in popluar number systems.

HEX 40 6B 2A
Decimal 64 107 42
Binary 1000000 1101011 101010
Octal 100 153 52

Shades and tints

Shades of #406B2A

#406B2A
(64,107,42)
#3B6227
(59,98,39)
#365924
(54,89,36)
#315021
(49,80,33)
#2C471E
(44,71,30)
#273E1B
(39,62,27)
#223518
(34,53,24)
#1D2C15
(29,44,21)
#182312
(24,35,18)
#131A0F
(19,26,15)
#0E110C
(14,17,12)
#000000
(0,0,0)

Tints of #406B2A

#406B2A
(64,107,42)
#51783D
(81,120,61)
#628550
(98,133,80)
#739263
(115,146,99)
#849F76
(132,159,118)
#95AC89
(149,172,137)
#A6B99C
(166,185,156)
#B7C6AF
(183,198,175)
#C8D3C2
(200,211,194)
#D9E0D5
(217,224,213)
#EAEDE8
(234,237,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #406B2A; }

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

This text font color is #406B2A.

Background Color

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

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

This div background color is #406B2A.

Border color

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

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

This div border color is #406B2A.

Opacity

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

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

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

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

This text has shadow with #406B2A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #406B2A.

Preview

Color preview on black background

This text has color #406B2A on black background.


Color preview on white background

This text has color #406B2A on white background.


Black color preview on #406B2A background

This text has black color on #406B2A background.


White color preview on #406B2A background

This text has white color on #406B2A background.


Related colors

Complementary color

Complementary color for #hex is #BF94D5.


I love getcolorcode.com

Triadic colors

1 #2A406B and #6B2A40 with #406B2A are triadic colors.

2 #2A6B40 and #6B402A with #406B2A are triadic colors.