COLOR #406917

HEX: #406917 RGB: (64,105,23)

Color info

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

RGB color model

#406917 color RGB value is (64,105,23).

RGB: (64,105,23) (25%, 41%, 9%)

RGB channels and saturation

R 64 of 255 = 25%
G 105 of 255 = 41%
B 23 of 255 = 9%

64
105
23

R + G + B ~ 25%. #406917 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 105 + 23 = 192 (100%)
R 64 of 192 ~ 33.33%
G 105 of 192 ~ 54.69%
B 23 of 192 ~ 11.98'%

%33.33
%54.69
%11.98

CMYK color model

#406917 color CMYK value is (39,0,78,59).

  • cyan value is 39.05%
  • magenta value is 0.00%
  • yellow value is 78.10%
  • key color value is 58.82%

CMYK: (39,0,78,59)
C39M0Y78K59 (39%, 0%, 78%, 59%)
(0.39 / 0.00 / 0.78 / 0.59)

CMYK percentages

%39.05
%0
%78.1
%58.82

Codes

Color #406917 in popluar color models

40 69 17
RGB 64 105 23
HSL 90° 64.06% 25.10%
HSB/HSV 90° 78.10% 41.18%
CMYK 39.05% 0.00% 78.10%
58.82%

Color #406917 in popluar number systems.

HEX 40 69 17
Decimal 64 105 23
Binary 1000000 1101001 10111
Octal 100 151 27

Shades and tints

Shades of #406917

#406917
(64,105,23)
#3B6015
(59,96,21)
#365713
(54,87,19)
#314E11
(49,78,17)
#2C450F
(44,69,15)
#273C0D
(39,60,13)
#22330B
(34,51,11)
#1D2A09
(29,42,9)
#182107
(24,33,7)
#131805
(19,24,5)
#0E0F03
(14,15,3)
#000000
(0,0,0)

Tints of #406917

#406917
(64,105,23)
#51762C
(81,118,44)
#628341
(98,131,65)
#739056
(115,144,86)
#849D6B
(132,157,107)
#95AA80
(149,170,128)
#A6B795
(166,183,149)
#B7C4AA
(183,196,170)
#C8D1BF
(200,209,191)
#D9DED4
(217,222,212)
#EAEBE9
(234,235,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #406917; }

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

This text font color is #406917.

Background Color

.myBgColor { background-color: #406917; }

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

This div background color is #406917.

Border color

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

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

This div border color is #406917.

Opacity

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

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

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

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

This text has shadow with #406917 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #406917.

Preview

Color preview on black background

This text has color #406917 on black background.


Color preview on white background

This text has color #406917 on white background.


Black color preview on #406917 background

This text has black color on #406917 background.


White color preview on #406917 background

This text has white color on #406917 background.


Related colors

Complementary color

Complementary color for #hex is #BF96E8.


I love getcolorcode.com

Triadic colors

1 #174069 and #691740 with #406917 are triadic colors.

2 #176940 and #694017 with #406917 are triadic colors.