COLOR #406217

HEX: #406217 RGB: (64,98,23)

Color info

#406217 contains mainly red and green colors. Web safe color of #406217 is #336600 (or #360).

RGB color model

#406217 color RGB value is (64,98,23).

RGB: (64,98,23) (25%, 38%, 9%)

RGB channels and saturation

R 64 of 255 = 25%
G 98 of 255 = 38%
B 23 of 255 = 9%

64
98
23

R + G + B ~ 24%. #406217 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 98 + 23 = 185 (100%)
R 64 of 185 ~ 34.59%
G 98 of 185 ~ 52.97%
B 23 of 185 ~ 12.43'%

%34.59
%52.97
%12.43

CMYK color model

#406217 color CMYK value is (35,0,77,62).

  • cyan value is 34.69%
  • magenta value is 0.00%
  • yellow value is 76.53%
  • key color value is 61.57%

CMYK: (35,0,77,62)
C35M0Y77K62 (35%, 0%, 77%, 62%)
(0.35 / 0.00 / 0.77 / 0.62)

CMYK percentages

%34.69
%0
%76.53
%61.57

Codes

Color #406217 in popluar color models

40 62 17
RGB 64 98 23
HSL 87° 61.98% 23.73%
HSB/HSV 87° 76.53% 38.43%
CMYK 34.69% 0.00% 76.53%
61.57%

Color #406217 in popluar number systems.

HEX 40 62 17
Decimal 64 98 23
Binary 1000000 1100010 10111
Octal 100 142 27

Shades and tints

Shades of #406217

#406217
(64,98,23)
#3B5A15
(59,90,21)
#365213
(54,82,19)
#314A11
(49,74,17)
#2C420F
(44,66,15)
#273A0D
(39,58,13)
#22320B
(34,50,11)
#1D2A09
(29,42,9)
#182207
(24,34,7)
#131A05
(19,26,5)
#0E1203
(14,18,3)
#000000
(0,0,0)

Tints of #406217

#406217
(64,98,23)
#51702C
(81,112,44)
#627E41
(98,126,65)
#738C56
(115,140,86)
#849A6B
(132,154,107)
#95A880
(149,168,128)
#A6B695
(166,182,149)
#B7C4AA
(183,196,170)
#C8D2BF
(200,210,191)
#D9E0D4
(217,224,212)
#EAEEE9
(234,238,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #406217 color. Also use rgb(64,98,23) instead hex code.

Text Font Color

.myTextColor { color: #406217; }

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

This text font color is #406217.

Background Color

.myBgColor { background-color: #406217; }

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

This div background color is #406217.

Border color

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

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

This div border color is #406217.

Opacity

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

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

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

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

This text has shadow with #406217 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #406217.

Preview

Color preview on black background

This text has color #406217 on black background.


Color preview on white background

This text has color #406217 on white background.


Black color preview on #406217 background

This text has black color on #406217 background.


White color preview on #406217 background

This text has white color on #406217 background.


Related colors

Complementary color

Complementary color for #hex is #BF9DE8.


I love getcolorcode.com

Triadic colors

1 #174062 and #621740 with #406217 are triadic colors.

2 #176240 and #624017 with #406217 are triadic colors.