COLOR #2B5A42

HEX: #2B5A42 RGB: (43,90,66)

Color info

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

RGB color model

#2B5A42 color RGB value is (43,90,66).

RGB: (43,90,66) (17%, 35%, 26%)

RGB channels and saturation

R 43 of 255 = 17%
G 90 of 255 = 35%
B 66 of 255 = 26%

43
90
66

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

Portions of RGB colors in percentages

R + G + B = 43 + 90 + 66 = 199 (100%)
R 43 of 199 ~ 21.61%
G 90 of 199 ~ 45.23%
B 66 of 199 ~ 33.17'%

%21.61
%45.23
%33.17

CMYK color model

#2B5A42 color CMYK value is (52,0,27,65).

  • cyan value is 52.22%
  • magenta value is 0.00%
  • yellow value is 26.67%
  • key color value is 64.71%

CMYK: (52,0,27,65)
C52M0Y27K65 (52%, 0%, 27%, 65%)
(0.52 / 0.00 / 0.27 / 0.65)

CMYK percentages

%52.22
%0
%26.67
%64.71

Codes

Color #2B5A42 in popluar color models

2B 5A 42
RGB 43 90 66
HSL 149° 35.34% 26.08%
HSB/HSV 149° 52.22% 35.29%
CMYK 52.22% 0.00% 26.67%
64.71%

Color #2B5A42 in popluar number systems.

HEX 2B 5A 42
Decimal 43 90 66
Binary 101011 1011010 1000010
Octal 53 132 102

Shades and tints

Shades of #2B5A42

#2B5A42
(43,90,66)
#28523C
(40,82,60)
#254A36
(37,74,54)
#224230
(34,66,48)
#1F3A2A
(31,58,42)
#1C3224
(28,50,36)
#192A1E
(25,42,30)
#162218
(22,34,24)
#131A12
(19,26,18)
#10120C
(16,18,12)
#0D0A06
(13,10,6)
#000000
(0,0,0)

Tints of #2B5A42

#2B5A42
(43,90,66)
#3E6953
(62,105,83)
#517864
(81,120,100)
#648775
(100,135,117)
#779686
(119,150,134)
#8AA597
(138,165,151)
#9DB4A8
(157,180,168)
#B0C3B9
(176,195,185)
#C3D2CA
(195,210,202)
#D6E1DB
(214,225,219)
#E9F0EC
(233,240,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2B5A42; }

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

This text font color is #2B5A42.

Background Color

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

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

This div background color is #2B5A42.

Border color

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

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

This div border color is #2B5A42.

Opacity

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

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

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

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

This text has shadow with #2B5A42 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2B5A42.

Preview

Color preview on black background

This text has color #2B5A42 on black background.


Color preview on white background

This text has color #2B5A42 on white background.


Black color preview on #2B5A42 background

This text has black color on #2B5A42 background.


White color preview on #2B5A42 background

This text has white color on #2B5A42 background.


Related colors

Complementary color

Complementary color for #hex is #D4A5BD.


I love getcolorcode.com

Triadic colors

1 #422B5A and #5A422B with #2B5A42 are triadic colors.

2 #425A2B and #5A2B42 with #2B5A42 are triadic colors.