COLOR #2A5125

HEX: #2A5125 RGB: (42,81,37)

Color info

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

RGB color model

#2A5125 color RGB value is (42,81,37).

RGB: (42,81,37) (16%, 32%, 15%)

RGB channels and saturation

R 42 of 255 = 16%
G 81 of 255 = 32%
B 37 of 255 = 15%

42
81
37

R + G + B ~ 21%. #2A5125 is dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 81 + 37 = 160 (100%)
R 42 of 160 ~ 26.25%
G 81 of 160 ~ 50.63%
B 37 of 160 ~ 23.13'%

%26.25
%50.63
%23.13

CMYK color model

#2A5125 color CMYK value is (48,0,54,68).

  • cyan value is 48.15%
  • magenta value is 0.00%
  • yellow value is 54.32%
  • key color value is 68.24%

CMYK: (48,0,54,68)
C48M0Y54K68 (48%, 0%, 54%, 68%)
(0.48 / 0.00 / 0.54 / 0.68)

CMYK percentages

%48.15
%0
%54.32
%68.24

Codes

Color #2A5125 in popluar color models

2A 51 25
RGB 42 81 37
HSL 113° 37.29% 23.14%
HSB/HSV 113° 54.32% 31.76%
CMYK 48.15% 0.00% 54.32%
68.24%

Color #2A5125 in popluar number systems.

HEX 2A 51 25
Decimal 42 81 37
Binary 101010 1010001 100101
Octal 52 121 45

Shades and tints

Shades of #2A5125

#2A5125
(42,81,37)
#274A22
(39,74,34)
#24431F
(36,67,31)
#213C1C
(33,60,28)
#1E3519
(30,53,25)
#1B2E16
(27,46,22)
#182713
(24,39,19)
#152010
(21,32,16)
#12190D
(18,25,13)
#0F120A
(15,18,10)
#0C0B07
(12,11,7)
#000000
(0,0,0)

Tints of #2A5125

#2A5125
(42,81,37)
#3D6038
(61,96,56)
#506F4B
(80,111,75)
#637E5E
(99,126,94)
#768D71
(118,141,113)
#899C84
(137,156,132)
#9CAB97
(156,171,151)
#AFBAAA
(175,186,170)
#C2C9BD
(194,201,189)
#D5D8D0
(213,216,208)
#E8E7E3
(232,231,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5125 color. Also use rgb(42,81,37) instead hex code.

Text Font Color

.myTextColor { color: #2A5125; }

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

This text font color is #2A5125.

Background Color

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

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

This div background color is #2A5125.

Border color

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

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

This div border color is #2A5125.

Opacity

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

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

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

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

This text has shadow with #2A5125 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A5125.

Preview

Color preview on black background

This text has color #2A5125 on black background.


Color preview on white background

This text has color #2A5125 on white background.


Black color preview on #2A5125 background

This text has black color on #2A5125 background.


White color preview on #2A5125 background

This text has white color on #2A5125 background.


Related colors

Complementary color

Complementary color for #hex is #D5AEDA.


I love getcolorcode.com

Triadic colors

1 #252A51 and #51252A with #2A5125 are triadic colors.

2 #25512A and #512A25 with #2A5125 are triadic colors.