COLOR #2F795F

HEX: #2F795F
RGB: (47,121,95)

Color info

#2F795F contains mainly green and blue colors. Web safe color of #2F795F is #336666 (or #366).

RGB color model

#2F795F color RGB value is (47,121,95).

  • red value is 47;
  • green value is 121;
  • blue value is 95.
RGB:
(47,121,95)
(18%,47%,37%)

RGB channels and saturation

R 47 of 255 = 18%
G 121 of 255 = 47%
B 95 of 255 = 37%

47
121
95

R + G + B ~ 34%. #2F795F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 121 + 95 = 263 (100%)
R 47 of 263 ~ 17.87%
G 121 of 263 ~ 46.01%
B 95 of 263 ~ 36.12%

%17.87
%46.01
%36.12

CMYK color model

#2F795F color CMYK value is (61,0,21,53).

  • cyan value is 61.16%
  • magenta value is 0.00%
  • yellow value is 21.49%
  • key color value is 52.55%
CMYK:
(61,0,21,53)
C61M0Y21K53 
(61%,0%,21%,53%)
(0.61/0.00/0.21/0.53)	

CMYK percentages

%61.16
%0
%21.49
%52.55

Codes

Color #2F795F in popluar color models

2F795F
RGB4712195
HSL159°44.05%32.94%
HSB/HSV159°61.16%47.45%
CMYK61.16%0.00%21.49%
52.55%

Color #2F795F in popluar number systems.

HEX2F795F
Decimal4712195
Binary10111111110011011111
Octal57171137

Shades and tints

Shades of #2F795F

#2F795F
(47,121,95)
#2B6E57
(43,110,87)
#27634F
(39,99,79)
#235847
(35,88,71)
#1F4D3F
(31,77,63)
#1B4237
(27,66,55)
#17372F
(23,55,47)
#132C27
(19,44,39)
#0F211F
(15,33,31)
#0B1617
(11,22,23)
#070B0F
(7,11,15)
#000000
(0,0,0)

Tints of #2F795F

#2F795F
(47,121,95)
#41856D
(65,133,109)
#53917B
(83,145,123)
#659D89
(101,157,137)
#77A997
(119,169,151)
#89B5A5
(137,181,165)
#9BC1B3
(155,193,179)
#ADCDC1
(173,205,193)
#BFD9CF
(191,217,207)
#D1E5DD
(209,229,221)
#E3F1EB
(227,241,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F795F color. Also use rgb(47,121,95) instead hex code.

Text Font Color

.myTextColor { color: #2F795F; }

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

This text font color is #2F795F.


Background Color

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

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

This div background color is #2F795F.


Border color

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

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

This div border color is #2F795F.


Opacity

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

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

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

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

This text has shadow with #2F795F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F795F on black background.


Color preview on white background

This text has color #2F795F on white background.



Black color preview on #2F795F background

This text has black color on #2F795F background.


White color preview on #2F795F background

This text has white color on #2F795F background.