COLOR #2F761F

HEX: #2F761F
RGB: (47,118,31)

Color info

#2F761F contains mainly green color. Web safe color of #2F761F is #336633 (or #363).

RGB color model

#2F761F color RGB value is (47,118,31).

  • red value is 47;
  • green value is 118;
  • blue value is 31.
RGB:
(47,118,31)
(18%,46%,12%)

RGB channels and saturation

R 47 of 255 = 18%
G 118 of 255 = 46%
B 31 of 255 = 12%

47
118
31

R + G + B ~ 25%. #2F761F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 118 + 31 = 196 (100%)
R 47 of 196 ~ 23.98%
G 118 of 196 ~ 60.2%
B 31 of 196 ~ 15.82%

%23.98
%60.2
%15.82

CMYK color model

#2F761F color CMYK value is (60,0,74,54).

  • cyan value is 60.17%
  • magenta value is 0.00%
  • yellow value is 73.73%
  • key color value is 53.73%
CMYK:
(60,0,74,54)
C60M0Y74K54 
(60%,0%,74%,54%)
(0.60/0.00/0.74/0.54)	

CMYK percentages

%60.17
%0
%73.73
%53.73

Codes

Color #2F761F in popluar color models

2F761F
RGB4711831
HSL109°58.39%29.22%
HSB/HSV109°73.73%46.27%
CMYK60.17%0.00%73.73%
53.73%

Color #2F761F in popluar number systems.

HEX2F761F
Decimal4711831
Binary101111111011011111
Octal5716637

Shades and tints

Shades of #2F761F

#2F761F
(47,118,31)
#2B6C1D
(43,108,29)
#27621B
(39,98,27)
#235819
(35,88,25)
#1F4E17
(31,78,23)
#1B4415
(27,68,21)
#173A13
(23,58,19)
#133011
(19,48,17)
#0F260F
(15,38,15)
#0B1C0D
(11,28,13)
#07120B
(7,18,11)
#000000
(0,0,0)

Tints of #2F761F

#2F761F
(47,118,31)
#418233
(65,130,51)
#538E47
(83,142,71)
#659A5B
(101,154,91)
#77A66F
(119,166,111)
#89B283
(137,178,131)
#9BBE97
(155,190,151)
#ADCAAB
(173,202,171)
#BFD6BF
(191,214,191)
#D1E2D3
(209,226,211)
#E3EEE7
(227,238,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F761F color. Also use rgb(47,118,31) instead hex code.

Text Font Color

.myTextColor { color: #2F761F; }

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

This text font color is #2F761F.


Background Color

.myBgColor { background-color: #2F761F; }

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

This div background color is #2F761F.


Border color

.myBorderColor { border: 1px solid #2F761F; }

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

This div border color is #2F761F.


Opacity

.myOpacity80 { color: #2F761F; opacity: 0.8; }

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

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

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

This text has shadow with #2F761F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F761F on black background.


Color preview on white background

This text has color #2F761F on white background.



Black color preview on #2F761F background

This text has black color on #2F761F background.


White color preview on #2F761F background

This text has white color on #2F761F background.