COLOR #2A6C24

HEX: #2A6C24 RGB: (42,108,36)

Color info

#2A6C24 contains mainly green color. Web safe color of #2A6C24 is #336633 (or #363).

RGB color model

#2A6C24 color RGB value is (42,108,36).

RGB: (42,108,36) (16%, 42%, 14%)

RGB channels and saturation

R 42 of 255 = 16%
G 108 of 255 = 42%
B 36 of 255 = 14%

42
108
36

R + G + B ~ 24%. #2A6C24 is dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 108 + 36 = 186 (100%)
R 42 of 186 ~ 22.58%
G 108 of 186 ~ 58.06%
B 36 of 186 ~ 19.35'%

%22.58
%58.06
%19.35

CMYK color model

#2A6C24 color CMYK value is (61,0,67,58).

  • cyan value is 61.11%
  • magenta value is 0.00%
  • yellow value is 66.67%
  • key color value is 57.65%

CMYK: (61,0,67,58)
C61M0Y67K58 (61%, 0%, 67%, 58%)
(0.61 / 0.00 / 0.67 / 0.58)

CMYK percentages

%61.11
%0
%66.67
%57.65

Codes

Color #2A6C24 in popluar color models

2A 6C 24
RGB 42 108 36
HSL 115° 50.00% 28.24%
HSB/HSV 115° 66.67% 42.35%
CMYK 61.11% 0.00% 66.67%
57.65%

Color #2A6C24 in popluar number systems.

HEX 2A 6C 24
Decimal 42 108 36
Binary 101010 1101100 100100
Octal 52 154 44

Shades and tints

Shades of #2A6C24

#2A6C24
(42,108,36)
#276321
(39,99,33)
#245A1E
(36,90,30)
#21511B
(33,81,27)
#1E4818
(30,72,24)
#1B3F15
(27,63,21)
#183612
(24,54,18)
#152D0F
(21,45,15)
#12240C
(18,36,12)
#0F1B09
(15,27,9)
#0C1206
(12,18,6)
#000000
(0,0,0)

Tints of #2A6C24

#2A6C24
(42,108,36)
#3D7937
(61,121,55)
#50864A
(80,134,74)
#63935D
(99,147,93)
#76A070
(118,160,112)
#89AD83
(137,173,131)
#9CBA96
(156,186,150)
#AFC7A9
(175,199,169)
#C2D4BC
(194,212,188)
#D5E1CF
(213,225,207)
#E8EEE2
(232,238,226)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A6C24 color. Also use rgb(42,108,36) instead hex code.

Text Font Color

.myTextColor { color: #2A6C24; }

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

This text font color is #2A6C24.

Background Color

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

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

This div background color is #2A6C24.

Border color

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

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

This div border color is #2A6C24.

Opacity

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

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

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

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

This text has shadow with #2A6C24 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A6C24.

Preview

Color preview on black background

This text has color #2A6C24 on black background.


Color preview on white background

This text has color #2A6C24 on white background.


Black color preview on #2A6C24 background

This text has black color on #2A6C24 background.


White color preview on #2A6C24 background

This text has white color on #2A6C24 background.


Related colors

Complementary color

Complementary color for #hex is #D593DB.


I love getcolorcode.com

Triadic colors

1 #242A6C and #6C242A with #2A6C24 are triadic colors.

2 #246C2A and #6C2A24 with #2A6C24 are triadic colors.