COLOR #4F7F2A

HEX: #4F7F2A
RGB: (79,127,42)

Color info

#4F7F2A contains mainly red and green colors. Web safe color of #4F7F2A is #666633 (or #663).

RGB color model

#4F7F2A color RGB value is (79,127,42).

  • red value is 79;
  • green value is 127;
  • blue value is 42.
RGB:
(79,127,42)
(31%,50%,16%)

RGB channels and saturation

R 79 of 255 = 31%
G 127 of 255 = 50%
B 42 of 255 = 16%

79
127
42

R + G + B ~ 32%. #4F7F2A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
79 + 127 + 42 = 248 (100%)
R 79 of 248 ~ 31.85%
G 127 of 248 ~ 51.21%
B 42 of 248 ~ 16.94%

%31.85
%51.21
%16.94

CMYK color model

#4F7F2A color CMYK value is (38,0,67,50).

  • cyan value is 37.80%
  • magenta value is 0.00%
  • yellow value is 66.93%
  • key color value is 50.20%
CMYK:
(38,0,67,50)
C38M0Y67K50 
(38%,0%,67%,50%)
(0.38/0.00/0.67/0.50)	

CMYK percentages

%37.8
%0
%66.93
%50.2

Codes

Color #4F7F2A in popluar color models

4F7F2A
RGB7912742
HSL94°50.30%33.14%
HSB/HSV94°66.93%49.80%
CMYK37.80%0.00%66.93%
50.20%

Color #4F7F2A in popluar number systems.

HEX4F7F2A
Decimal7912742
Binary10011111111111101010
Octal11717752

Shades and tints

Shades of #4F7F2A

#4F7F2A
(79,127,42)
#487427
(72,116,39)
#416924
(65,105,36)
#3A5E21
(58,94,33)
#33531E
(51,83,30)
#2C481B
(44,72,27)
#253D18
(37,61,24)
#1E3215
(30,50,21)
#172712
(23,39,18)
#101C0F
(16,28,15)
#09110C
(9,17,12)
#000000
(0,0,0)

Tints of #4F7F2A

#4F7F2A
(79,127,42)
#5F8A3D
(95,138,61)
#6F9550
(111,149,80)
#7FA063
(127,160,99)
#8FAB76
(143,171,118)
#9FB689
(159,182,137)
#AFC19C
(175,193,156)
#BFCCAF
(191,204,175)
#CFD7C2
(207,215,194)
#DFE2D5
(223,226,213)
#EFEDE8
(239,237,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4F7F2A color. Also use rgb(79,127,42) instead hex code.

Text Font Color

.myTextColor { color: #4F7F2A; }

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

This text font color is #4F7F2A.


Background Color

.myBgColor { background-color: #4F7F2A; }

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

This div background color is #4F7F2A.


Border color

.myBorderColor { border: 1px solid #4F7F2A; }

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

This div border color is #4F7F2A.


Opacity

.myOpacity80 { color: #4F7F2A; opacity: 0.8; }

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

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

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

This text has shadow with #4F7F2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4F7F2A on black background.


Color preview on white background

This text has color #4F7F2A on white background.



Black color preview on #4F7F2A background

This text has black color on #4F7F2A background.


White color preview on #4F7F2A background

This text has white color on #4F7F2A background.