COLOR #408242

HEX: #408242
RGB: (64,130,66)

Color info

#408242 contains mainly green color. Web safe color of #408242 is #339933 (or #393).

RGB color model

#408242 color RGB value is (64,130,66).

  • red value is 64;
  • green value is 130;
  • blue value is 66.
RGB:
(64,130,66)
(25%,51%,26%)

RGB channels and saturation

R 64 of 255 = 25%
G 130 of 255 = 51%
B 66 of 255 = 26%

64
130
66

R + G + B ~ 34%. #408242 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 130 + 66 = 260 (100%)
R 64 of 260 ~ 24.62%
G 130 of 260 ~ 50%
B 66 of 260 ~ 25.38%

%24.62
%50
%25.38

CMYK color model

#408242 color CMYK value is (51,0,49,49).

  • cyan value is 50.77%
  • magenta value is 0.00%
  • yellow value is 49.23%
  • key color value is 49.02%
CMYK:
(51,0,49,49)
C51M0Y49K49 
(51%,0%,49%,49%)
(0.51/0.00/0.49/0.49)	

CMYK percentages

%50.77
%0
%49.23
%49.02

Codes

Color #408242 in popluar color models

408242
RGB6413066
HSL122°34.02%38.04%
HSB/HSV122°50.77%50.98%
CMYK50.77%0.00%49.23%
49.02%

Color #408242 in popluar number systems.

HEX408242
Decimal6413066
Binary1000000100000101000010
Octal100202102

Shades and tints

Shades of #408242

#408242
(64,130,66)
#3B773C
(59,119,60)
#366C36
(54,108,54)
#316130
(49,97,48)
#2C562A
(44,86,42)
#274B24
(39,75,36)
#22401E
(34,64,30)
#1D3518
(29,53,24)
#182A12
(24,42,18)
#131F0C
(19,31,12)
#0E1406
(14,20,6)
#000000
(0,0,0)

Tints of #408242

#408242
(64,130,66)
#518D53
(81,141,83)
#629864
(98,152,100)
#73A375
(115,163,117)
#84AE86
(132,174,134)
#95B997
(149,185,151)
#A6C4A8
(166,196,168)
#B7CFB9
(183,207,185)
#C8DACA
(200,218,202)
#D9E5DB
(217,229,219)
#EAF0EC
(234,240,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #408242 color. Also use rgb(64,130,66) instead hex code.

Text Font Color

.myTextColor { color: #408242; }

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

This text font color is #408242.


Background Color

.myBgColor { background-color: #408242; }

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

This div background color is #408242.


Border color

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

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

This div border color is #408242.


Opacity

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

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

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

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

This text has shadow with #408242 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #408242 on black background.


Color preview on white background

This text has color #408242 on white background.



Black color preview on #408242 background

This text has black color on #408242 background.


White color preview on #408242 background

This text has white color on #408242 background.