COLOR #2F751F

HEX: #2F751F
RGB: (47,117,31)

Color info

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

RGB color model

#2F751F color RGB value is (47,117,31).

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

RGB channels and saturation

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

47
117
31

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

Portions of RGB colors in percentages

R + G + B =
47 + 117 + 31 = 195 (100%)
R 47 of 195 ~ 24.1%
G 117 of 195 ~ 60%
B 31 of 195 ~ 15.9%

%24.1
%60
%15.9

CMYK color model

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

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

CMYK percentages

%59.83
%0
%73.5
%54.12

Codes

Color #2F751F in popluar color models

2F751F
RGB4711731
HSL109°58.11%29.02%
HSB/HSV109°73.50%45.88%
CMYK59.83%0.00%73.50%
54.12%

Color #2F751F in popluar number systems.

HEX2F751F
Decimal4711731
Binary101111111010111111
Octal5716537

Shades and tints

Shades of #2F751F

#2F751F
(47,117,31)
#2B6B1D
(43,107,29)
#27611B
(39,97,27)
#235719
(35,87,25)
#1F4D17
(31,77,23)
#1B4315
(27,67,21)
#173913
(23,57,19)
#132F11
(19,47,17)
#0F250F
(15,37,15)
#0B1B0D
(11,27,13)
#07110B
(7,17,11)
#000000
(0,0,0)

Tints of #2F751F

#2F751F
(47,117,31)
#418133
(65,129,51)
#538D47
(83,141,71)
#65995B
(101,153,91)
#77A56F
(119,165,111)
#89B183
(137,177,131)
#9BBD97
(155,189,151)
#ADC9AB
(173,201,171)
#BFD5BF
(191,213,191)
#D1E1D3
(209,225,211)
#E3EDE7
(227,237,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2F751F; }

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

This text font color is #2F751F.


Background Color

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

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

This div background color is #2F751F.


Border color

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

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

This div border color is #2F751F.


Opacity

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

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

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

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

This text has shadow with #2F751F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F751F on black background.


Color preview on white background

This text has color #2F751F on white background.



Black color preview on #2F751F background

This text has black color on #2F751F background.


White color preview on #2F751F background

This text has white color on #2F751F background.