COLOR #2D5A15

HEX: #2D5A15 RGB: (45,90,21)

Color info

#2D5A15 contains mainly red and green colors. Web safe color of #2D5A15 is #336600 (or #360).

RGB color model

#2D5A15 color RGB value is (45,90,21).

RGB: (45,90,21) (18%, 35%, 8%)

RGB channels and saturation

R 45 of 255 = 18%
G 90 of 255 = 35%
B 21 of 255 = 8%

45
90
21

R + G + B ~ 20%. #2D5A15 is dark color.

Portions of RGB colors in percentages

R + G + B = 45 + 90 + 21 = 156 (100%)
R 45 of 156 ~ 28.85%
G 90 of 156 ~ 57.69%
B 21 of 156 ~ 13.46'%

%28.85
%57.69
%13.46

CMYK color model

#2D5A15 color CMYK value is (50,0,77,65).

  • cyan value is 50.00%
  • magenta value is 0.00%
  • yellow value is 76.67%
  • key color value is 64.71%

CMYK: (50,0,77,65)
C50M0Y77K65 (50%, 0%, 77%, 65%)
(0.50 / 0.00 / 0.77 / 0.65)

CMYK percentages

%50
%0
%76.67
%64.71

Codes

Color #2D5A15 in popluar color models

2D 5A 15
RGB 45 90 21
HSL 99° 62.16% 21.76%
HSB/HSV 99° 76.67% 35.29%
CMYK 50.00% 0.00% 76.67%
64.71%

Color #2D5A15 in popluar number systems.

HEX 2D 5A 15
Decimal 45 90 21
Binary 101101 1011010 10101
Octal 55 132 25

Shades and tints

Shades of #2D5A15

#2D5A15
(45,90,21)
#295214
(41,82,20)
#254A13
(37,74,19)
#214212
(33,66,18)
#1D3A11
(29,58,17)
#193210
(25,50,16)
#152A0F
(21,42,15)
#11220E
(17,34,14)
#0D1A0D
(13,26,13)
#09120C
(9,18,12)
#050A0B
(5,10,11)
#000000
(0,0,0)

Tints of #2D5A15

#2D5A15
(45,90,21)
#40692A
(64,105,42)
#53783F
(83,120,63)
#668754
(102,135,84)
#799669
(121,150,105)
#8CA57E
(140,165,126)
#9FB493
(159,180,147)
#B2C3A8
(178,195,168)
#C5D2BD
(197,210,189)
#D8E1D2
(216,225,210)
#EBF0E7
(235,240,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2D5A15 color. Also use rgb(45,90,21) instead hex code.

Text Font Color

.myTextColor { color: #2D5A15; }

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

This text font color is #2D5A15.

Background Color

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

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

This div background color is #2D5A15.

Border color

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

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

This div border color is #2D5A15.

Opacity

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

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

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

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

This text has shadow with #2D5A15 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2D5A15.

Preview

Color preview on black background

This text has color #2D5A15 on black background.


Color preview on white background

This text has color #2D5A15 on white background.


Black color preview on #2D5A15 background

This text has black color on #2D5A15 background.


White color preview on #2D5A15 background

This text has white color on #2D5A15 background.


Related colors

Complementary color

Complementary color for #hex is #D2A5EA.


I love getcolorcode.com

Triadic colors

1 #152D5A and #5A152D with #2D5A15 are triadic colors.

2 #155A2D and #5A2D15 with #2D5A15 are triadic colors.