COLOR #2F7A31

HEX: #2F7A31
RGB: (47,122,49)

Color info

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

RGB color model

#2F7A31 color RGB value is (47,122,49).

  • red value is 47;
  • green value is 122;
  • blue value is 49.
RGB:
(47,122,49)
(18%,48%,19%)

RGB channels and saturation

R 47 of 255 = 18%
G 122 of 255 = 48%
B 49 of 255 = 19%

47
122
49

R + G + B ~ 28%. #2F7A31 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 122 + 49 = 218 (100%)
R 47 of 218 ~ 21.56%
G 122 of 218 ~ 55.96%
B 49 of 218 ~ 22.48%

%21.56
%55.96
%22.48

CMYK color model

#2F7A31 color CMYK value is (61,0,60,52).

  • cyan value is 61.48%
  • magenta value is 0.00%
  • yellow value is 59.84%
  • key color value is 52.16%
CMYK:
(61,0,60,52)
C61M0Y60K52 
(61%,0%,60%,52%)
(0.61/0.00/0.60/0.52)	

CMYK percentages

%61.48
%0
%59.84
%52.16

Codes

Color #2F7A31 in popluar color models

2F7A31
RGB4712249
HSL122°44.38%33.14%
HSB/HSV122°61.48%47.84%
CMYK61.48%0.00%59.84%
52.16%

Color #2F7A31 in popluar number systems.

HEX2F7A31
Decimal4712249
Binary1011111111010110001
Octal5717261

Shades and tints

Shades of #2F7A31

#2F7A31
(47,122,49)
#2B6F2D
(43,111,45)
#276429
(39,100,41)
#235925
(35,89,37)
#1F4E21
(31,78,33)
#1B431D
(27,67,29)
#173819
(23,56,25)
#132D15
(19,45,21)
#0F2211
(15,34,17)
#0B170D
(11,23,13)
#070C09
(7,12,9)
#000000
(0,0,0)

Tints of #2F7A31

#2F7A31
(47,122,49)
#418643
(65,134,67)
#539255
(83,146,85)
#659E67
(101,158,103)
#77AA79
(119,170,121)
#89B68B
(137,182,139)
#9BC29D
(155,194,157)
#ADCEAF
(173,206,175)
#BFDAC1
(191,218,193)
#D1E6D3
(209,230,211)
#E3F2E5
(227,242,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F7A31 color. Also use rgb(47,122,49) instead hex code.

Text Font Color

.myTextColor { color: #2F7A31; }

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

This text font color is #2F7A31.


Background Color

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

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

This div background color is #2F7A31.


Border color

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

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

This div border color is #2F7A31.


Opacity

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

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

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

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

This text has shadow with #2F7A31 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F7A31 on black background.


Color preview on white background

This text has color #2F7A31 on white background.



Black color preview on #2F7A31 background

This text has black color on #2F7A31 background.


White color preview on #2F7A31 background

This text has white color on #2F7A31 background.