COLOR #407C40

HEX: #407C40
RGB: (64,124,64)

Color info

#407C40 contains mainly green color. Web safe color of #407C40 is #336633 (or #363).

RGB color model

#407C40 color RGB value is (64,124,64).

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

RGB channels and saturation

R 64 of 255 = 25%
G 124 of 255 = 49%
B 64 of 255 = 25%

64
124
64

R + G + B ~ 33%. #407C40 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 124 + 64 = 252 (100%)
R 64 of 252 ~ 25.4%
G 124 of 252 ~ 49.21%
B 64 of 252 ~ 25.4%

%25.4
%49.21
%25.4

CMYK color model

#407C40 color CMYK value is (48,0,48,51).

  • cyan value is 48.39%
  • magenta value is 0.00%
  • yellow value is 48.39%
  • key color value is 51.37%
CMYK:
(48,0,48,51)
C48M0Y48K51 
(48%,0%,48%,51%)
(0.48/0.00/0.48/0.51)	

CMYK percentages

%48.39
%0
%48.39
%51.37

Codes

Color #407C40 in popluar color models

407C40
RGB6412464
HSL120°31.91%36.86%
HSB/HSV120°48.39%48.63%
CMYK48.39%0.00%48.39%
51.37%

Color #407C40 in popluar number systems.

HEX407C40
Decimal6412464
Binary100000011111001000000
Octal100174100

Shades and tints

Shades of #407C40

#407C40
(64,124,64)
#3B713B
(59,113,59)
#366636
(54,102,54)
#315B31
(49,91,49)
#2C502C
(44,80,44)
#274527
(39,69,39)
#223A22
(34,58,34)
#1D2F1D
(29,47,29)
#182418
(24,36,24)
#131913
(19,25,19)
#0E0E0E
(14,14,14)
#000000
(0,0,0)

Tints of #407C40

#407C40
(64,124,64)
#518751
(81,135,81)
#629262
(98,146,98)
#739D73
(115,157,115)
#84A884
(132,168,132)
#95B395
(149,179,149)
#A6BEA6
(166,190,166)
#B7C9B7
(183,201,183)
#C8D4C8
(200,212,200)
#D9DFD9
(217,223,217)
#EAEAEA
(234,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #407C40; }

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

This text font color is #407C40.


Background Color

.myBgColor { background-color: #407C40; }

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

This div background color is #407C40.


Border color

.myBorderColor { border: 1px solid #407C40; }

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

This div border color is #407C40.


Opacity

.myOpacity80 { color: #407C40; opacity: 0.8; }

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

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

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

This text has shadow with #407C40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #407C40 on black background.


Color preview on white background

This text has color #407C40 on white background.



Black color preview on #407C40 background

This text has black color on #407C40 background.


White color preview on #407C40 background

This text has white color on #407C40 background.