COLOR #2A6846

HEX: #2A6846 RGB: (42,104,70)

Color info

#2A6846 contains mainly green and blue colors. Web safe color of #2A6846 is #336633 (or #363).

RGB color model

#2A6846 color RGB value is (42,104,70).

RGB: (42,104,70) (16%, 41%, 27%)

RGB channels and saturation

R 42 of 255 = 16%
G 104 of 255 = 41%
B 70 of 255 = 27%

42
104
70

R + G + B ~ 28%. #2A6846 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 104 + 70 = 216 (100%)
R 42 of 216 ~ 19.44%
G 104 of 216 ~ 48.15%
B 70 of 216 ~ 32.41'%

%19.44
%48.15
%32.41

CMYK color model

#2A6846 color CMYK value is (60,0,33,59).

  • cyan value is 59.62%
  • magenta value is 0.00%
  • yellow value is 32.69%
  • key color value is 59.22%

CMYK: (60,0,33,59)
C60M0Y33K59 (60%, 0%, 33%, 59%)
(0.60 / 0.00 / 0.33 / 0.59)

CMYK percentages

%59.62
%0
%32.69
%59.22

Codes

Color #2A6846 in popluar color models

2A 68 46
RGB 42 104 70
HSL 147° 42.47% 28.63%
HSB/HSV 147° 59.62% 40.78%
CMYK 59.62% 0.00% 32.69%
59.22%

Color #2A6846 in popluar number systems.

HEX 2A 68 46
Decimal 42 104 70
Binary 101010 1101000 1000110
Octal 52 150 106

Shades and tints

Shades of #2A6846

#2A6846
(42,104,70)
#275F40
(39,95,64)
#24563A
(36,86,58)
#214D34
(33,77,52)
#1E442E
(30,68,46)
#1B3B28
(27,59,40)
#183222
(24,50,34)
#15291C
(21,41,28)
#122016
(18,32,22)
#0F1710
(15,23,16)
#0C0E0A
(12,14,10)
#000000
(0,0,0)

Tints of #2A6846

#2A6846
(42,104,70)
#3D7556
(61,117,86)
#508266
(80,130,102)
#638F76
(99,143,118)
#769C86
(118,156,134)
#89A996
(137,169,150)
#9CB6A6
(156,182,166)
#AFC3B6
(175,195,182)
#C2D0C6
(194,208,198)
#D5DDD6
(213,221,214)
#E8EAE6
(232,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A6846 color. Also use rgb(42,104,70) instead hex code.

Text Font Color

.myTextColor { color: #2A6846; }

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

This text font color is #2A6846.

Background Color

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

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

This div background color is #2A6846.

Border color

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

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

This div border color is #2A6846.

Opacity

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

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

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

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

This text has shadow with #2A6846 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A6846.

Preview

Color preview on black background

This text has color #2A6846 on black background.


Color preview on white background

This text has color #2A6846 on white background.


Black color preview on #2A6846 background

This text has black color on #2A6846 background.


White color preview on #2A6846 background

This text has white color on #2A6846 background.


Related colors

Complementary color

Complementary color for #hex is #D597B9.


I love getcolorcode.com

Triadic colors

1 #462A68 and #68462A with #2A6846 are triadic colors.

2 #46682A and #682A46 with #2A6846 are triadic colors.