COLOR #2F4156

HEX: #2F4156
RGB: (47,65,86)

Color info

#2F4156 contains red, green and blue colors in about the same proportion. Web safe color of #2F4156 is #333366 (or #336).

RGB color model

#2F4156 color RGB value is (47,65,86).

  • red value is 47;
  • green value is 65;
  • blue value is 86.
RGB:
(47,65,86)
(18%,25%,34%)

RGB channels and saturation

R 47 of 255 = 18%
G 65 of 255 = 25%
B 86 of 255 = 34%

47
65
86

R + G + B ~ 26%. #2F4156 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 65 + 86 = 198 (100%)
R 47 of 198 ~ 23.74%
G 65 of 198 ~ 32.83%
B 86 of 198 ~ 43.43%

%23.74
%32.83
%43.43

CMYK color model

#2F4156 color CMYK value is (45,24,0,66).

  • cyan value is 45.35%
  • magenta value is 24.42%
  • yellow value is 0.00%
  • key color value is 66.27%
CMYK:
(45,24,0,66)
C45M24Y0K66 
(45%,24%,0%,66%)
(0.45/0.24/0.00/0.66)	

CMYK percentages

%45.35
%24.42
%0
%66.27

Codes

Color #2F4156 in popluar color models

2F4156
RGB476586
HSL212°29.32%26.08%
HSB/HSV212°45.35%33.73%
CMYK45.35%24.42%0.00%
66.27%

Color #2F4156 in popluar number systems.

HEX2F4156
Decimal476586
Binary10111110000011010110
Octal57101126

Shades and tints

Shades of #2F4156

#2F4156
(47,65,86)
#2B3C4F
(43,60,79)
#273748
(39,55,72)
#233241
(35,50,65)
#1F2D3A
(31,45,58)
#1B2833
(27,40,51)
#17232C
(23,35,44)
#131E25
(19,30,37)
#0F191E
(15,25,30)
#0B1417
(11,20,23)
#070F10
(7,15,16)
#000000
(0,0,0)

Tints of #2F4156

#2F4156
(47,65,86)
#415265
(65,82,101)
#536374
(83,99,116)
#657483
(101,116,131)
#778592
(119,133,146)
#8996A1
(137,150,161)
#9BA7B0
(155,167,176)
#ADB8BF
(173,184,191)
#BFC9CE
(191,201,206)
#D1DADD
(209,218,221)
#E3EBEC
(227,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F4156 color. Also use rgb(47,65,86) instead hex code.

Text Font Color

.myTextColor { color: #2F4156; }

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

This text font color is #2F4156.


Background Color

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

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

This div background color is #2F4156.


Border color

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

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

This div border color is #2F4156.


Opacity

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

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

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

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

This text has shadow with #2F4156 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F4156 on black background.


Color preview on white background

This text has color #2F4156 on white background.



Black color preview on #2F4156 background

This text has black color on #2F4156 background.


White color preview on #2F4156 background

This text has white color on #2F4156 background.