COLOR #2F5158

HEX: #2F5158
RGB: (47,81,88)

Color info

#2F5158 contains red, green and blue colors in about the same proportion. Web safe color of #2F5158 is #336666 (or #366).

RGB color model

#2F5158 color RGB value is (47,81,88).

  • red value is 47;
  • green value is 81;
  • blue value is 88.
RGB:
(47,81,88)
(18%,32%,35%)

RGB channels and saturation

R 47 of 255 = 18%
G 81 of 255 = 32%
B 88 of 255 = 35%

47
81
88

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

Portions of RGB colors in percentages

R + G + B =
47 + 81 + 88 = 216 (100%)
R 47 of 216 ~ 21.76%
G 81 of 216 ~ 37.5%
B 88 of 216 ~ 40.74%

%21.76
%37.5
%40.74

CMYK color model

#2F5158 color CMYK value is (47,8,0,65).

  • cyan value is 46.59%
  • magenta value is 7.95%
  • yellow value is 0.00%
  • key color value is 65.49%
CMYK:
(47,8,0,65)
C47M8Y0K65 
(47%,8%,0%,65%)
(0.47/0.08/0.00/0.65)	

CMYK percentages

%46.59
%7.95
%0
%65.49

Codes

Color #2F5158 in popluar color models

2F5158
RGB478188
HSL190°30.37%26.47%
HSB/HSV190°46.59%34.51%
CMYK46.59%7.95%0.00%
65.49%

Color #2F5158 in popluar number systems.

HEX2F5158
Decimal478188
Binary10111110100011011000
Octal57121130

Shades and tints

Shades of #2F5158

#2F5158
(47,81,88)
#2B4A50
(43,74,80)
#274348
(39,67,72)
#233C40
(35,60,64)
#1F3538
(31,53,56)
#1B2E30
(27,46,48)
#172728
(23,39,40)
#132020
(19,32,32)
#0F1918
(15,25,24)
#0B1210
(11,18,16)
#070B08
(7,11,8)
#000000
(0,0,0)

Tints of #2F5158

#2F5158
(47,81,88)
#416067
(65,96,103)
#536F76
(83,111,118)
#657E85
(101,126,133)
#778D94
(119,141,148)
#899CA3
(137,156,163)
#9BABB2
(155,171,178)
#ADBAC1
(173,186,193)
#BFC9D0
(191,201,208)
#D1D8DF
(209,216,223)
#E3E7EE
(227,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F5158 color. Also use rgb(47,81,88) instead hex code.

Text Font Color

.myTextColor { color: #2F5158; }

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

This text font color is #2F5158.


Background Color

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

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

This div background color is #2F5158.


Border color

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

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

This div border color is #2F5158.


Opacity

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

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

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

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

This text has shadow with #2F5158 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F5158 on black background.


Color preview on white background

This text has color #2F5158 on white background.



Black color preview on #2F5158 background

This text has black color on #2F5158 background.


White color preview on #2F5158 background

This text has white color on #2F5158 background.