COLOR #408740

HEX: #408740
RGB: (64,135,64)

Color info

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

RGB color model

#408740 color RGB value is (64,135,64).

  • red value is 64;
  • green value is 135;
  • blue value is 64.
RGB:
(64,135,64)
(25%,53%,25%)

RGB channels and saturation

R 64 of 255 = 25%
G 135 of 255 = 53%
B 64 of 255 = 25%

64
135
64

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

Portions of RGB colors in percentages

R + G + B =
64 + 135 + 64 = 263 (100%)
R 64 of 263 ~ 24.33%
G 135 of 263 ~ 51.33%
B 64 of 263 ~ 24.33%

%24.33
%51.33
%24.33

CMYK color model

#408740 color CMYK value is (53,0,53,47).

  • cyan value is 52.59%
  • magenta value is 0.00%
  • yellow value is 52.59%
  • key color value is 47.06%
CMYK:
(53,0,53,47)
C53M0Y53K47 
(53%,0%,53%,47%)
(0.53/0.00/0.53/0.47)	

CMYK percentages

%52.59
%0
%52.59
%47.06

Codes

Color #408740 in popluar color models

408740
RGB6413564
HSL120°35.68%39.02%
HSB/HSV120°52.59%52.94%
CMYK52.59%0.00%52.59%
47.06%

Color #408740 in popluar number systems.

HEX408740
Decimal6413564
Binary1000000100001111000000
Octal100207100

Shades and tints

Shades of #408740

#408740
(64,135,64)
#3B7B3B
(59,123,59)
#366F36
(54,111,54)
#316331
(49,99,49)
#2C572C
(44,87,44)
#274B27
(39,75,39)
#223F22
(34,63,34)
#1D331D
(29,51,29)
#182718
(24,39,24)
#131B13
(19,27,19)
#0E0F0E
(14,15,14)
#000000
(0,0,0)

Tints of #408740

#408740
(64,135,64)
#519151
(81,145,81)
#629B62
(98,155,98)
#73A573
(115,165,115)
#84AF84
(132,175,132)
#95B995
(149,185,149)
#A6C3A6
(166,195,166)
#B7CDB7
(183,205,183)
#C8D7C8
(200,215,200)
#D9E1D9
(217,225,217)
#EAEBEA
(234,235,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #408740; }

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

This text font color is #408740.


Background Color

.myBgColor { background-color: #408740; }

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

This div background color is #408740.


Border color

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

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

This div border color is #408740.


Opacity

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

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

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

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

This text has shadow with #408740 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #408740 on black background.


Color preview on white background

This text has color #408740 on white background.



Black color preview on #408740 background

This text has black color on #408740 background.


White color preview on #408740 background

This text has white color on #408740 background.