COLOR #2B5A31

HEX: #2B5A31
RGB: (43,90,49)

Color info

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

RGB color model

#2B5A31 color RGB value is (43,90,49).

  • red value is 43;
  • green value is 90;
  • blue value is 49.
RGB:
(43,90,49)
(17%,35%,19%)

RGB channels and saturation

R 43 of 255 = 17%
G 90 of 255 = 35%
B 49 of 255 = 19%

43
90
49

R + G + B ~ 24%. #2B5A31 is dark color.

Portions of RGB colors in percentages

R + G + B =
43 + 90 + 49 = 182 (100%)
R 43 of 182 ~ 23.63%
G 90 of 182 ~ 49.45%
B 49 of 182 ~ 26.92%

%23.63
%49.45
%26.92

CMYK color model

#2B5A31 color CMYK value is (52,0,46,65).

  • cyan value is 52.22%
  • magenta value is 0.00%
  • yellow value is 45.56%
  • key color value is 64.71%
CMYK:
(52,0,46,65)
C52M0Y46K65 
(52%,0%,46%,65%)
(0.52/0.00/0.46/0.65)	

CMYK percentages

%52.22
%0
%45.56
%64.71

Codes

Color #2B5A31 in popluar color models

2B5A31
RGB439049
HSL128°35.34%26.08%
HSB/HSV128°52.22%35.29%
CMYK52.22%0.00%45.56%
64.71%

Color #2B5A31 in popluar number systems.

HEX2B5A31
Decimal439049
Binary1010111011010110001
Octal5313261

Shades and tints

Shades of #2B5A31

#2B5A31
(43,90,49)
#28522D
(40,82,45)
#254A29
(37,74,41)
#224225
(34,66,37)
#1F3A21
(31,58,33)
#1C321D
(28,50,29)
#192A19
(25,42,25)
#162215
(22,34,21)
#131A11
(19,26,17)
#10120D
(16,18,13)
#0D0A09
(13,10,9)
#000000
(0,0,0)

Tints of #2B5A31

#2B5A31
(43,90,49)
#3E6943
(62,105,67)
#517855
(81,120,85)
#648767
(100,135,103)
#779679
(119,150,121)
#8AA58B
(138,165,139)
#9DB49D
(157,180,157)
#B0C3AF
(176,195,175)
#C3D2C1
(195,210,193)
#D6E1D3
(214,225,211)
#E9F0E5
(233,240,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2B5A31 color. Also use rgb(43,90,49) instead hex code.

Text Font Color

.myTextColor { color: #2B5A31; }

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

This text font color is #2B5A31.


Background Color

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

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

This div background color is #2B5A31.


Border color

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

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

This div border color is #2B5A31.


Opacity

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

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

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

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

This text has shadow with #2B5A31 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2B5A31 on black background.


Color preview on white background

This text has color #2B5A31 on white background.



Black color preview on #2B5A31 background

This text has black color on #2B5A31 background.


White color preview on #2B5A31 background

This text has white color on #2B5A31 background.