COLOR #2F796C

HEX: #2F796C
RGB: (47,121,108)

Color info

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

RGB color model

#2F796C color RGB value is (47,121,108).

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

RGB channels and saturation

R 47 of 255 = 18%
G 121 of 255 = 47%
B 108 of 255 = 42%

47
121
108

R + G + B ~ 36%. #2F796C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 121 + 108 = 276 (100%)
R 47 of 276 ~ 17.03%
G 121 of 276 ~ 43.84%
B 108 of 276 ~ 39.13%

%17.03
%43.84
%39.13

CMYK color model

#2F796C color CMYK value is (61,0,11,53).

  • cyan value is 61.16%
  • magenta value is 0.00%
  • yellow value is 10.74%
  • key color value is 52.55%
CMYK:
(61,0,11,53)
C61M0Y11K53 
(61%,0%,11%,53%)
(0.61/0.00/0.11/0.53)	

CMYK percentages

%61.16
%0
%10.74
%52.55

Codes

Color #2F796C in popluar color models

2F796C
RGB47121108
HSL169°44.05%32.94%
HSB/HSV169°61.16%47.45%
CMYK61.16%0.00%10.74%
52.55%

Color #2F796C in popluar number systems.

HEX2F796C
Decimal47121108
Binary10111111110011101100
Octal57171154

Shades and tints

Shades of #2F796C

#2F796C
(47,121,108)
#2B6E63
(43,110,99)
#27635A
(39,99,90)
#235851
(35,88,81)
#1F4D48
(31,77,72)
#1B423F
(27,66,63)
#173736
(23,55,54)
#132C2D
(19,44,45)
#0F2124
(15,33,36)
#0B161B
(11,22,27)
#070B12
(7,11,18)
#000000
(0,0,0)

Tints of #2F796C

#2F796C
(47,121,108)
#418579
(65,133,121)
#539186
(83,145,134)
#659D93
(101,157,147)
#77A9A0
(119,169,160)
#89B5AD
(137,181,173)
#9BC1BA
(155,193,186)
#ADCDC7
(173,205,199)
#BFD9D4
(191,217,212)
#D1E5E1
(209,229,225)
#E3F1EE
(227,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2F796C; }

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

This text font color is #2F796C.


Background Color

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

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

This div background color is #2F796C.


Border color

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

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

This div border color is #2F796C.


Opacity

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

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

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

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

This text has shadow with #2F796C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F796C on black background.


Color preview on white background

This text has color #2F796C on white background.



Black color preview on #2F796C background

This text has black color on #2F796C background.


White color preview on #2F796C background

This text has white color on #2F796C background.