COLOR #40642F

HEX: #40642F
RGB: (64,100,47)

Color info

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

RGB color model

#40642F color RGB value is (64,100,47).

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

RGB channels and saturation

R 64 of 255 = 25%
G 100 of 255 = 39%
B 47 of 255 = 18%

64
100
47

R + G + B ~ 27%. #40642F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 100 + 47 = 211 (100%)
R 64 of 211 ~ 30.33%
G 100 of 211 ~ 47.39%
B 47 of 211 ~ 22.27%

%30.33
%47.39
%22.27

CMYK color model

#40642F color CMYK value is (36,0,53,61).

  • cyan value is 36.00%
  • magenta value is 0.00%
  • yellow value is 53.00%
  • key color value is 60.78%
CMYK:
(36,0,53,61)
C36M0Y53K61 
(36%,0%,53%,61%)
(0.36/0.00/0.53/0.61)	

CMYK percentages

%36
%0
%53
%60.78

Codes

Color #40642F in popluar color models

40642F
RGB6410047
HSL101°36.05%28.82%
HSB/HSV101°53.00%39.22%
CMYK36.00%0.00%53.00%
60.78%

Color #40642F in popluar number systems.

HEX40642F
Decimal6410047
Binary10000001100100101111
Octal10014457

Shades and tints

Shades of #40642F

#40642F
(64,100,47)
#3B5B2B
(59,91,43)
#365227
(54,82,39)
#314923
(49,73,35)
#2C401F
(44,64,31)
#27371B
(39,55,27)
#222E17
(34,46,23)
#1D2513
(29,37,19)
#181C0F
(24,28,15)
#13130B
(19,19,11)
#0E0A07
(14,10,7)
#000000
(0,0,0)

Tints of #40642F

#40642F
(64,100,47)
#517241
(81,114,65)
#628053
(98,128,83)
#738E65
(115,142,101)
#849C77
(132,156,119)
#95AA89
(149,170,137)
#A6B89B
(166,184,155)
#B7C6AD
(183,198,173)
#C8D4BF
(200,212,191)
#D9E2D1
(217,226,209)
#EAF0E3
(234,240,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40642F color. Also use rgb(64,100,47) instead hex code.

Text Font Color

.myTextColor { color: #40642F; }

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

This text font color is #40642F.


Background Color

.myBgColor { background-color: #40642F; }

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

This div background color is #40642F.


Border color

.myBorderColor { border: 1px solid #40642F; }

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

This div border color is #40642F.


Opacity

.myOpacity80 { color: #40642F; opacity: 0.8; }

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

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

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

This text has shadow with #40642F color.

.textShadow {text-shadow: 3px 3px 1px #40642F, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40642F on black background.


Color preview on white background

This text has color #40642F on white background.



Black color preview on #40642F background

This text has black color on #40642F background.


White color preview on #40642F background

This text has white color on #40642F background.