COLOR #2B5156

HEX: #2B5156
RGB: (43,81,86)

Color info

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

RGB color model

#2B5156 color RGB value is (43,81,86).

  • red value is 43;
  • green value is 81;
  • blue value is 86.
RGB:
(43,81,86)
(17%,32%,34%)

RGB channels and saturation

R 43 of 255 = 17%
G 81 of 255 = 32%
B 86 of 255 = 34%

43
81
86

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

Portions of RGB colors in percentages

R + G + B =
43 + 81 + 86 = 210 (100%)
R 43 of 210 ~ 20.48%
G 81 of 210 ~ 38.57%
B 86 of 210 ~ 40.95%

%20.48
%38.57
%40.95

CMYK color model

#2B5156 color CMYK value is (50,6,0,66).

  • cyan value is 50.00%
  • magenta value is 5.81%
  • yellow value is 0.00%
  • key color value is 66.27%
CMYK:
(50,6,0,66)
C50M6Y0K66 
(50%,6%,0%,66%)
(0.50/0.06/0.00/0.66)	

CMYK percentages

%50
%5.81
%0
%66.27

Codes

Color #2B5156 in popluar color models

2B5156
RGB438186
HSL187°33.33%25.29%
HSB/HSV187°50.00%33.73%
CMYK50.00%5.81%0.00%
66.27%

Color #2B5156 in popluar number systems.

HEX2B5156
Decimal438186
Binary10101110100011010110
Octal53121126

Shades and tints

Shades of #2B5156

#2B5156
(43,81,86)
#284A4F
(40,74,79)
#254348
(37,67,72)
#223C41
(34,60,65)
#1F353A
(31,53,58)
#1C2E33
(28,46,51)
#19272C
(25,39,44)
#162025
(22,32,37)
#13191E
(19,25,30)
#101217
(16,18,23)
#0D0B10
(13,11,16)
#000000
(0,0,0)

Tints of #2B5156

#2B5156
(43,81,86)
#3E6065
(62,96,101)
#516F74
(81,111,116)
#647E83
(100,126,131)
#778D92
(119,141,146)
#8A9CA1
(138,156,161)
#9DABB0
(157,171,176)
#B0BABF
(176,186,191)
#C3C9CE
(195,201,206)
#D6D8DD
(214,216,221)
#E9E7EC
(233,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2B5156 color. Also use rgb(43,81,86) instead hex code.

Text Font Color

.myTextColor { color: #2B5156; }

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

This text font color is #2B5156.


Background Color

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

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

This div background color is #2B5156.


Border color

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

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

This div border color is #2B5156.


Opacity

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

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

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

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

This text has shadow with #2B5156 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2B5156 on black background.


Color preview on white background

This text has color #2B5156 on white background.



Black color preview on #2B5156 background

This text has black color on #2B5156 background.


White color preview on #2B5156 background

This text has white color on #2B5156 background.