COLOR #4F791B

HEX: #4F791B
RGB: (79,121,27)

Color info

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

RGB color model

#4F791B color RGB value is (79,121,27).

  • red value is 79;
  • green value is 121;
  • blue value is 27.
RGB:
(79,121,27)
(31%,47%,11%)

RGB channels and saturation

R 79 of 255 = 31%
G 121 of 255 = 47%
B 27 of 255 = 11%

79
121
27

R + G + B ~ 30%. #4F791B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
79 + 121 + 27 = 227 (100%)
R 79 of 227 ~ 34.8%
G 121 of 227 ~ 53.3%
B 27 of 227 ~ 11.89%

%34.8
%53.3
%11.89

CMYK color model

#4F791B color CMYK value is (35,0,78,53).

  • cyan value is 34.71%
  • magenta value is 0.00%
  • yellow value is 77.69%
  • key color value is 52.55%
CMYK:
(35,0,78,53)
C35M0Y78K53 
(35%,0%,78%,53%)
(0.35/0.00/0.78/0.53)	

CMYK percentages

%34.71
%0
%77.69
%52.55

Codes

Color #4F791B in popluar color models

4F791B
RGB7912127
HSL87°63.51%29.02%
HSB/HSV87°77.69%47.45%
CMYK34.71%0.00%77.69%
52.55%

Color #4F791B in popluar number systems.

HEX4F791B
Decimal7912127
Binary1001111111100111011
Octal11717133

Shades and tints

Shades of #4F791B

#4F791B
(79,121,27)
#486E19
(72,110,25)
#416317
(65,99,23)
#3A5815
(58,88,21)
#334D13
(51,77,19)
#2C4211
(44,66,17)
#25370F
(37,55,15)
#1E2C0D
(30,44,13)
#17210B
(23,33,11)
#101609
(16,22,9)
#090B07
(9,11,7)
#000000
(0,0,0)

Tints of #4F791B

#4F791B
(79,121,27)
#5F852F
(95,133,47)
#6F9143
(111,145,67)
#7F9D57
(127,157,87)
#8FA96B
(143,169,107)
#9FB57F
(159,181,127)
#AFC193
(175,193,147)
#BFCDA7
(191,205,167)
#CFD9BB
(207,217,187)
#DFE5CF
(223,229,207)
#EFF1E3
(239,241,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4F791B color. Also use rgb(79,121,27) instead hex code.

Text Font Color

.myTextColor { color: #4F791B; }

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

This text font color is #4F791B.


Background Color

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

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

This div background color is #4F791B.


Border color

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

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

This div border color is #4F791B.


Opacity

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

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

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

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

This text has shadow with #4F791B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4F791B on black background.


Color preview on white background

This text has color #4F791B on white background.



Black color preview on #4F791B background

This text has black color on #4F791B background.


White color preview on #4F791B background

This text has white color on #4F791B background.