COLOR #2F5A4C

HEX: #2F5A4C
RGB: (47,90,76)

Color info

#2F5A4C contains red, green and blue colors in about the same proportion. Web safe color of #2F5A4C is #336633 (or #363).

RGB color model

#2F5A4C color RGB value is (47,90,76).

  • red value is 47;
  • green value is 90;
  • blue value is 76.
RGB:
(47,90,76)
(18%,35%,30%)

RGB channels and saturation

R 47 of 255 = 18%
G 90 of 255 = 35%
B 76 of 255 = 30%

47
90
76

R + G + B ~ 28%. #2F5A4C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 90 + 76 = 213 (100%)
R 47 of 213 ~ 22.07%
G 90 of 213 ~ 42.25%
B 76 of 213 ~ 35.68%

%22.07
%42.25
%35.68

CMYK color model

#2F5A4C color CMYK value is (48,0,16,65).

  • cyan value is 47.78%
  • magenta value is 0.00%
  • yellow value is 15.56%
  • key color value is 64.71%
CMYK:
(48,0,16,65)
C48M0Y16K65 
(48%,0%,16%,65%)
(0.48/0.00/0.16/0.65)	

CMYK percentages

%47.78
%0
%15.56
%64.71

Codes

Color #2F5A4C in popluar color models

2F5A4C
RGB479076
HSL160°31.39%26.86%
HSB/HSV160°47.78%35.29%
CMYK47.78%0.00%15.56%
64.71%

Color #2F5A4C in popluar number systems.

HEX2F5A4C
Decimal479076
Binary10111110110101001100
Octal57132114

Shades and tints

Shades of #2F5A4C

#2F5A4C
(47,90,76)
#2B5246
(43,82,70)
#274A40
(39,74,64)
#23423A
(35,66,58)
#1F3A34
(31,58,52)
#1B322E
(27,50,46)
#172A28
(23,42,40)
#132222
(19,34,34)
#0F1A1C
(15,26,28)
#0B1216
(11,18,22)
#070A10
(7,10,16)
#000000
(0,0,0)

Tints of #2F5A4C

#2F5A4C
(47,90,76)
#41695C
(65,105,92)
#53786C
(83,120,108)
#65877C
(101,135,124)
#77968C
(119,150,140)
#89A59C
(137,165,156)
#9BB4AC
(155,180,172)
#ADC3BC
(173,195,188)
#BFD2CC
(191,210,204)
#D1E1DC
(209,225,220)
#E3F0EC
(227,240,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F5A4C color. Also use rgb(47,90,76) instead hex code.

Text Font Color

.myTextColor { color: #2F5A4C; }

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

This text font color is #2F5A4C.


Background Color

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

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

This div background color is #2F5A4C.


Border color

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

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

This div border color is #2F5A4C.


Opacity

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

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

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

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

This text has shadow with #2F5A4C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F5A4C on black background.


Color preview on white background

This text has color #2F5A4C on white background.



Black color preview on #2F5A4C background

This text has black color on #2F5A4C background.


White color preview on #2F5A4C background

This text has white color on #2F5A4C background.