COLOR #2F4F17

HEX: #2F4F17
RGB: (47,79,23)

Color info

#2F4F17 contains red, green and blue colors in about the same proportion. Web safe color of #2F4F17 is #336600 (or #360).

RGB color model

#2F4F17 color RGB value is (47,79,23).

  • red value is 47;
  • green value is 79;
  • blue value is 23.
RGB:
(47,79,23)
(18%,31%,9%)

RGB channels and saturation

R 47 of 255 = 18%
G 79 of 255 = 31%
B 23 of 255 = 9%

47
79
23

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

Portions of RGB colors in percentages

R + G + B =
47 + 79 + 23 = 149 (100%)
R 47 of 149 ~ 31.54%
G 79 of 149 ~ 53.02%
B 23 of 149 ~ 15.44%

%31.54
%53.02
%15.44

CMYK color model

#2F4F17 color CMYK value is (41,0,71,69).

  • cyan value is 40.51%
  • magenta value is 0.00%
  • yellow value is 70.89%
  • key color value is 69.02%
CMYK:
(41,0,71,69)
C41M0Y71K69 
(41%,0%,71%,69%)
(0.41/0.00/0.71/0.69)	

CMYK percentages

%40.51
%0
%70.89
%69.02

Codes

Color #2F4F17 in popluar color models

2F4F17
RGB477923
HSL94°54.90%20.00%
HSB/HSV94°70.89%30.98%
CMYK40.51%0.00%70.89%
69.02%

Color #2F4F17 in popluar number systems.

HEX2F4F17
Decimal477923
Binary101111100111110111
Octal5711727

Shades and tints

Shades of #2F4F17

#2F4F17
(47,79,23)
#2B4815
(43,72,21)
#274113
(39,65,19)
#233A11
(35,58,17)
#1F330F
(31,51,15)
#1B2C0D
(27,44,13)
#17250B
(23,37,11)
#131E09
(19,30,9)
#0F1707
(15,23,7)
#0B1005
(11,16,5)
#070903
(7,9,3)
#000000
(0,0,0)

Tints of #2F4F17

#2F4F17
(47,79,23)
#415F2C
(65,95,44)
#536F41
(83,111,65)
#657F56
(101,127,86)
#778F6B
(119,143,107)
#899F80
(137,159,128)
#9BAF95
(155,175,149)
#ADBFAA
(173,191,170)
#BFCFBF
(191,207,191)
#D1DFD4
(209,223,212)
#E3EFE9
(227,239,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F4F17 color. Also use rgb(47,79,23) instead hex code.

Text Font Color

.myTextColor { color: #2F4F17; }

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

This text font color is #2F4F17.


Background Color

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

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

This div background color is #2F4F17.


Border color

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

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

This div border color is #2F4F17.


Opacity

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

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

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

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

This text has shadow with #2F4F17 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F4F17 on black background.


Color preview on white background

This text has color #2F4F17 on white background.



Black color preview on #2F4F17 background

This text has black color on #2F4F17 background.


White color preview on #2F4F17 background

This text has white color on #2F4F17 background.