COLOR #2F4E12

HEX: #2F4E12
RGB: (47,78,18)

Color info

#2F4E12 contains mainly red and green colors. Web safe color of #2F4E12 is #336600 (or #360).

RGB color model

#2F4E12 color RGB value is (47,78,18).

  • red value is 47;
  • green value is 78;
  • blue value is 18.
RGB:
(47,78,18)
(18%,31%,7%)

RGB channels and saturation

R 47 of 255 = 18%
G 78 of 255 = 31%
B 18 of 255 = 7%

47
78
18

R + G + B ~ 19%. #2F4E12 is dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 78 + 18 = 143 (100%)
R 47 of 143 ~ 32.87%
G 78 of 143 ~ 54.55%
B 18 of 143 ~ 12.59%

%32.87
%54.55
%12.59

CMYK color model

#2F4E12 color CMYK value is (40,0,77,69).

  • cyan value is 39.74%
  • magenta value is 0.00%
  • yellow value is 76.92%
  • key color value is 69.41%
CMYK:
(40,0,77,69)
C40M0Y77K69 
(40%,0%,77%,69%)
(0.40/0.00/0.77/0.69)	

CMYK percentages

%39.74
%0
%76.92
%69.41

Codes

Color #2F4E12 in popluar color models

2F4E12
RGB477818
HSL91°62.50%18.82%
HSB/HSV91°76.92%30.59%
CMYK39.74%0.00%76.92%
69.41%

Color #2F4E12 in popluar number systems.

HEX2F4E12
Decimal477818
Binary101111100111010010
Octal5711622

Shades and tints

Shades of #2F4E12

#2F4E12
(47,78,18)
#2B4711
(43,71,17)
#274010
(39,64,16)
#23390F
(35,57,15)
#1F320E
(31,50,14)
#1B2B0D
(27,43,13)
#17240C
(23,36,12)
#131D0B
(19,29,11)
#0F160A
(15,22,10)
#0B0F09
(11,15,9)
#070808
(7,8,8)
#000000
(0,0,0)

Tints of #2F4E12

#2F4E12
(47,78,18)
#415E27
(65,94,39)
#536E3C
(83,110,60)
#657E51
(101,126,81)
#778E66
(119,142,102)
#899E7B
(137,158,123)
#9BAE90
(155,174,144)
#ADBEA5
(173,190,165)
#BFCEBA
(191,206,186)
#D1DECF
(209,222,207)
#E3EEE4
(227,238,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F4E12 color. Also use rgb(47,78,18) instead hex code.

Text Font Color

.myTextColor { color: #2F4E12; }

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

This text font color is #2F4E12.


Background Color

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

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

This div background color is #2F4E12.


Border color

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

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

This div border color is #2F4E12.


Opacity

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

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

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

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

This text has shadow with #2F4E12 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F4E12 on black background.


Color preview on white background

This text has color #2F4E12 on white background.



Black color preview on #2F4E12 background

This text has black color on #2F4E12 background.


White color preview on #2F4E12 background

This text has white color on #2F4E12 background.