COLOR #2A5A40

HEX: #2A5A40 RGB: (42,90,64)

Color info

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

RGB color model

#2A5A40 color RGB value is (42,90,64).

RGB: (42,90,64) (16%, 35%, 25%)

RGB channels and saturation

R 42 of 255 = 16%
G 90 of 255 = 35%
B 64 of 255 = 25%

42
90
64

R + G + B ~ 25%. #2A5A40 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 90 + 64 = 196 (100%)
R 42 of 196 ~ 21.43%
G 90 of 196 ~ 45.92%
B 64 of 196 ~ 32.65'%

%21.43
%45.92
%32.65

CMYK color model

#2A5A40 color CMYK value is (53,0,29,65).

  • cyan value is 53.33%
  • magenta value is 0.00%
  • yellow value is 28.89%
  • key color value is 64.71%

CMYK: (53,0,29,65)
C53M0Y29K65 (53%, 0%, 29%, 65%)
(0.53 / 0.00 / 0.29 / 0.65)

CMYK percentages

%53.33
%0
%28.89
%64.71

Codes

Color #2A5A40 in popluar color models

2A 5A 40
RGB 42 90 64
HSL 148° 36.36% 25.88%
HSB/HSV 148° 53.33% 35.29%
CMYK 53.33% 0.00% 28.89%
64.71%

Color #2A5A40 in popluar number systems.

HEX 2A 5A 40
Decimal 42 90 64
Binary 101010 1011010 1000000
Octal 52 132 100

Shades and tints

Shades of #2A5A40

#2A5A40
(42,90,64)
#27523B
(39,82,59)
#244A36
(36,74,54)
#214231
(33,66,49)
#1E3A2C
(30,58,44)
#1B3227
(27,50,39)
#182A22
(24,42,34)
#15221D
(21,34,29)
#121A18
(18,26,24)
#0F1213
(15,18,19)
#0C0A0E
(12,10,14)
#000000
(0,0,0)

Tints of #2A5A40

#2A5A40
(42,90,64)
#3D6951
(61,105,81)
#507862
(80,120,98)
#638773
(99,135,115)
#769684
(118,150,132)
#89A595
(137,165,149)
#9CB4A6
(156,180,166)
#AFC3B7
(175,195,183)
#C2D2C8
(194,210,200)
#D5E1D9
(213,225,217)
#E8F0EA
(232,240,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5A40 color. Also use rgb(42,90,64) instead hex code.

Text Font Color

.myTextColor { color: #2A5A40; }

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

This text font color is #2A5A40.

Background Color

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

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

This div background color is #2A5A40.

Border color

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

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

This div border color is #2A5A40.

Opacity

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

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

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

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

This text has shadow with #2A5A40 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A5A40.

Preview

Color preview on black background

This text has color #2A5A40 on black background.


Color preview on white background

This text has color #2A5A40 on white background.


Black color preview on #2A5A40 background

This text has black color on #2A5A40 background.


White color preview on #2A5A40 background

This text has white color on #2A5A40 background.


Related colors

Complementary color

Complementary color for #hex is #D5A5BF.


I love getcolorcode.com

Triadic colors

1 #402A5A and #5A402A with #2A5A40 are triadic colors.

2 #405A2A and #5A2A40 with #2A5A40 are triadic colors.