COLOR #2F7221

HEX: #2F7221
RGB: (47,114,33)

Color info

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

RGB color model

#2F7221 color RGB value is (47,114,33).

  • red value is 47;
  • green value is 114;
  • blue value is 33.
RGB:
(47,114,33)
(18%,45%,13%)

RGB channels and saturation

R 47 of 255 = 18%
G 114 of 255 = 45%
B 33 of 255 = 13%

47
114
33

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

Portions of RGB colors in percentages

R + G + B =
47 + 114 + 33 = 194 (100%)
R 47 of 194 ~ 24.23%
G 114 of 194 ~ 58.76%
B 33 of 194 ~ 17.01%

%24.23
%58.76
%17.01

CMYK color model

#2F7221 color CMYK value is (59,0,71,55).

  • cyan value is 58.77%
  • magenta value is 0.00%
  • yellow value is 71.05%
  • key color value is 55.29%
CMYK:
(59,0,71,55)
C59M0Y71K55 
(59%,0%,71%,55%)
(0.59/0.00/0.71/0.55)	

CMYK percentages

%58.77
%0
%71.05
%55.29

Codes

Color #2F7221 in popluar color models

2F7221
RGB4711433
HSL110°55.10%28.82%
HSB/HSV110°71.05%44.71%
CMYK58.77%0.00%71.05%
55.29%

Color #2F7221 in popluar number systems.

HEX2F7221
Decimal4711433
Binary1011111110010100001
Octal5716241

Shades and tints

Shades of #2F7221

#2F7221
(47,114,33)
#2B681E
(43,104,30)
#275E1B
(39,94,27)
#235418
(35,84,24)
#1F4A15
(31,74,21)
#1B4012
(27,64,18)
#17360F
(23,54,15)
#132C0C
(19,44,12)
#0F2209
(15,34,9)
#0B1806
(11,24,6)
#070E03
(7,14,3)
#000000
(0,0,0)

Tints of #2F7221

#2F7221
(47,114,33)
#417E35
(65,126,53)
#538A49
(83,138,73)
#65965D
(101,150,93)
#77A271
(119,162,113)
#89AE85
(137,174,133)
#9BBA99
(155,186,153)
#ADC6AD
(173,198,173)
#BFD2C1
(191,210,193)
#D1DED5
(209,222,213)
#E3EAE9
(227,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F7221 color. Also use rgb(47,114,33) instead hex code.

Text Font Color

.myTextColor { color: #2F7221; }

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

This text font color is #2F7221.


Background Color

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

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

This div background color is #2F7221.


Border color

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

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

This div border color is #2F7221.


Opacity

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

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

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

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

This text has shadow with #2F7221 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F7221 on black background.


Color preview on white background

This text has color #2F7221 on white background.



Black color preview on #2F7221 background

This text has black color on #2F7221 background.


White color preview on #2F7221 background

This text has white color on #2F7221 background.