COLOR #2A5239

HEX: #2A5239 RGB: (42,82,57)

Color info

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

RGB color model

#2A5239 color RGB value is (42,82,57).

RGB: (42,82,57) (16%, 32%, 22%)

RGB channels and saturation

R 42 of 255 = 16%
G 82 of 255 = 32%
B 57 of 255 = 22%

42
82
57

R + G + B ~ 23%. #2A5239 is dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 82 + 57 = 181 (100%)
R 42 of 181 ~ 23.2%
G 82 of 181 ~ 45.3%
B 57 of 181 ~ 31.49'%

%23.2
%45.3
%31.49

CMYK color model

#2A5239 color CMYK value is (49,0,30,68).

  • cyan value is 48.78%
  • magenta value is 0.00%
  • yellow value is 30.49%
  • key color value is 67.84%

CMYK: (49,0,30,68)
C49M0Y30K68 (49%, 0%, 30%, 68%)
(0.49 / 0.00 / 0.30 / 0.68)

CMYK percentages

%48.78
%0
%30.49
%67.84

Codes

Color #2A5239 in popluar color models

2A 52 39
RGB 42 82 57
HSL 143° 32.26% 24.31%
HSB/HSV 143° 48.78% 32.16%
CMYK 48.78% 0.00% 30.49%
67.84%

Color #2A5239 in popluar number systems.

HEX 2A 52 39
Decimal 42 82 57
Binary 101010 1010010 111001
Octal 52 122 71

Shades and tints

Shades of #2A5239

#2A5239
(42,82,57)
#274B34
(39,75,52)
#24442F
(36,68,47)
#213D2A
(33,61,42)
#1E3625
(30,54,37)
#1B2F20
(27,47,32)
#18281B
(24,40,27)
#152116
(21,33,22)
#121A11
(18,26,17)
#0F130C
(15,19,12)
#0C0C07
(12,12,7)
#000000
(0,0,0)

Tints of #2A5239

#2A5239
(42,82,57)
#3D614B
(61,97,75)
#50705D
(80,112,93)
#637F6F
(99,127,111)
#768E81
(118,142,129)
#899D93
(137,157,147)
#9CACA5
(156,172,165)
#AFBBB7
(175,187,183)
#C2CAC9
(194,202,201)
#D5D9DB
(213,217,219)
#E8E8ED
(232,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5239 color. Also use rgb(42,82,57) instead hex code.

Text Font Color

.myTextColor { color: #2A5239; }

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

This text font color is #2A5239.

Background Color

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

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

This div background color is #2A5239.

Border color

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

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

This div border color is #2A5239.

Opacity

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

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

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

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

This text has shadow with #2A5239 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A5239.

Preview

Color preview on black background

This text has color #2A5239 on black background.


Color preview on white background

This text has color #2A5239 on white background.


Black color preview on #2A5239 background

This text has black color on #2A5239 background.


White color preview on #2A5239 background

This text has white color on #2A5239 background.


Related colors

Complementary color

Complementary color for #hex is #D5ADC6.


I love getcolorcode.com

Triadic colors

1 #392A52 and #52392A with #2A5239 are triadic colors.

2 #39522A and #522A39 with #2A5239 are triadic colors.