COLOR #2F4F6C

HEX: #2F4F6C
RGB: (47,79,108)

Color info

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

RGB color model

#2F4F6C color RGB value is (47,79,108).

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

RGB channels and saturation

R 47 of 255 = 18%
G 79 of 255 = 31%
B 108 of 255 = 42%

47
79
108

R + G + B ~ 30%. #2F4F6C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 79 + 108 = 234 (100%)
R 47 of 234 ~ 20.09%
G 79 of 234 ~ 33.76%
B 108 of 234 ~ 46.15%

%20.09
%33.76
%46.15

CMYK color model

#2F4F6C color CMYK value is (56,27,0,58).

  • cyan value is 56.48%
  • magenta value is 26.85%
  • yellow value is 0.00%
  • key color value is 57.65%
CMYK:
(56,27,0,58)
C56M27Y0K58 
(56%,27%,0%,58%)
(0.56/0.27/0.00/0.58)	

CMYK percentages

%56.48
%26.85
%0
%57.65

Codes

Color #2F4F6C in popluar color models

2F4F6C
RGB4779108
HSL209°39.35%30.39%
HSB/HSV209°56.48%42.35%
CMYK56.48%26.85%0.00%
57.65%

Color #2F4F6C in popluar number systems.

HEX2F4F6C
Decimal4779108
Binary10111110011111101100
Octal57117154

Shades and tints

Shades of #2F4F6C

#2F4F6C
(47,79,108)
#2B4863
(43,72,99)
#27415A
(39,65,90)
#233A51
(35,58,81)
#1F3348
(31,51,72)
#1B2C3F
(27,44,63)
#172536
(23,37,54)
#131E2D
(19,30,45)
#0F1724
(15,23,36)
#0B101B
(11,16,27)
#070912
(7,9,18)
#000000
(0,0,0)

Tints of #2F4F6C

#2F4F6C
(47,79,108)
#415F79
(65,95,121)
#536F86
(83,111,134)
#657F93
(101,127,147)
#778FA0
(119,143,160)
#899FAD
(137,159,173)
#9BAFBA
(155,175,186)
#ADBFC7
(173,191,199)
#BFCFD4
(191,207,212)
#D1DFE1
(209,223,225)
#E3EFEE
(227,239,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2F4F6C; }

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

This text font color is #2F4F6C.


Background Color

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

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

This div background color is #2F4F6C.


Border color

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

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

This div border color is #2F4F6C.


Opacity

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

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

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

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

This text has shadow with #2F4F6C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F4F6C on black background.


Color preview on white background

This text has color #2F4F6C on white background.



Black color preview on #2F4F6C background

This text has black color on #2F4F6C background.


White color preview on #2F4F6C background

This text has white color on #2F4F6C background.