COLOR #2D6240

HEX: #2D6240
RGB: (45,98,64)

Color info

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

RGB color model

#2D6240 color RGB value is (45,98,64).

  • red value is 45;
  • green value is 98;
  • blue value is 64.
RGB:
(45,98,64)
(18%,38%,25%)

RGB channels and saturation

R 45 of 255 = 18%
G 98 of 255 = 38%
B 64 of 255 = 25%

45
98
64

R + G + B ~ 27%. #2D6240 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
45 + 98 + 64 = 207 (100%)
R 45 of 207 ~ 21.74%
G 98 of 207 ~ 47.34%
B 64 of 207 ~ 30.92%

%21.74
%47.34
%30.92

CMYK color model

#2D6240 color CMYK value is (54,0,35,62).

  • cyan value is 54.08%
  • magenta value is 0.00%
  • yellow value is 34.69%
  • key color value is 61.57%
CMYK:
(54,0,35,62)
C54M0Y35K62 
(54%,0%,35%,62%)
(0.54/0.00/0.35/0.62)	

CMYK percentages

%54.08
%0
%34.69
%61.57

Codes

Color #2D6240 in popluar color models

2D6240
RGB459864
HSL142°37.06%28.04%
HSB/HSV142°54.08%38.43%
CMYK54.08%0.00%34.69%
61.57%

Color #2D6240 in popluar number systems.

HEX2D6240
Decimal459864
Binary10110111000101000000
Octal55142100

Shades and tints

Shades of #2D6240

#2D6240
(45,98,64)
#295A3B
(41,90,59)
#255236
(37,82,54)
#214A31
(33,74,49)
#1D422C
(29,66,44)
#193A27
(25,58,39)
#153222
(21,50,34)
#112A1D
(17,42,29)
#0D2218
(13,34,24)
#091A13
(9,26,19)
#05120E
(5,18,14)
#000000
(0,0,0)

Tints of #2D6240

#2D6240
(45,98,64)
#407051
(64,112,81)
#537E62
(83,126,98)
#668C73
(102,140,115)
#799A84
(121,154,132)
#8CA895
(140,168,149)
#9FB6A6
(159,182,166)
#B2C4B7
(178,196,183)
#C5D2C8
(197,210,200)
#D8E0D9
(216,224,217)
#EBEEEA
(235,238,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2D6240 color. Also use rgb(45,98,64) instead hex code.

Text Font Color

.myTextColor { color: #2D6240; }

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

This text font color is #2D6240.


Background Color

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

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

This div background color is #2D6240.


Border color

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

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

This div border color is #2D6240.


Opacity

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

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

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

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

This text has shadow with #2D6240 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2D6240 on black background.


Color preview on white background

This text has color #2D6240 on white background.



Black color preview on #2D6240 background

This text has black color on #2D6240 background.


White color preview on #2D6240 background

This text has white color on #2D6240 background.