COLOR #407C2F

HEX: #407C2F RGB: (64,124,47)

Color info

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

RGB color model

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

RGB: (64,124,47) (25%, 49%, 18%)

RGB channels and saturation

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

64
124
47

R + G + B ~ 31%. #407C2F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 124 + 47 = 235 (100%)
R 64 of 235 ~ 27.23%
G 124 of 235 ~ 52.77%
B 47 of 235 ~ 20'%

%27.23
%52.77
%20

CMYK color model

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

  • cyan value is 48.39%
  • magenta value is 0.00%
  • yellow value is 62.10%
  • key color value is 51.37%

CMYK: (48,0,62,51)
C48M0Y62K51 (48%, 0%, 62%, 51%)
(0.48 / 0.00 / 0.62 / 0.51)

CMYK percentages

%48.39
%0
%62.1
%51.37

Codes

Color #407C2F in popluar color models

40 7C 2F
RGB 64 124 47
HSL 107° 45.03% 33.53%
HSB/HSV 107° 62.10% 48.63%
CMYK 48.39% 0.00% 62.10%
51.37%

Color #407C2F in popluar number systems.

HEX 40 7C 2F
Decimal 64 124 47
Binary 1000000 1111100 101111
Octal 100 174 57

Shades and tints

Shades of #407C2F

#407C2F
(64,124,47)
#3B712B
(59,113,43)
#366627
(54,102,39)
#315B23
(49,91,35)
#2C501F
(44,80,31)
#27451B
(39,69,27)
#223A17
(34,58,23)
#1D2F13
(29,47,19)
#18240F
(24,36,15)
#13190B
(19,25,11)
#0E0E07
(14,14,7)
#000000
(0,0,0)

Tints of #407C2F

#407C2F
(64,124,47)
#518741
(81,135,65)
#629253
(98,146,83)
#739D65
(115,157,101)
#84A877
(132,168,119)
#95B389
(149,179,137)
#A6BE9B
(166,190,155)
#B7C9AD
(183,201,173)
#C8D4BF
(200,212,191)
#D9DFD1
(217,223,209)
#EAEAE3
(234,234,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #407C2F; }

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

This text font color is #407C2F.

Background Color

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

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

This div background color is #407C2F.

Border color

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

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

This div border color is #407C2F.

Opacity

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

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

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

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

This text has shadow with #407C2F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #407C2F.

Preview

Color preview on black background

This text has color #407C2F on black background.


Color preview on white background

This text has color #407C2F on white background.


Black color preview on #407C2F background

This text has black color on #407C2F background.


White color preview on #407C2F background

This text has white color on #407C2F background.


Related colors

Complementary color

Complementary color for #hex is #BF83D0.


I love getcolorcode.com

Triadic colors

1 #2F407C and #7C2F40 with #407C2F are triadic colors.

2 #2F7C40 and #7C402F with #407C2F are triadic colors.