COLOR #228240

HEX: #228240
RGB: (34,130,64)

Color info

#228240 contains mainly green color. Web safe color of #228240 is #339933 (or #393).

RGB color model

#228240 color RGB value is (34,130,64).

  • red value is 34;
  • green value is 130;
  • blue value is 64.
RGB:
(34,130,64)
(13%,51%,25%)

RGB channels and saturation

R 34 of 255 = 13%
G 130 of 255 = 51%
B 64 of 255 = 25%

34
130
64

R + G + B ~ 30%. #228240 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
34 + 130 + 64 = 228 (100%)
R 34 of 228 ~ 14.91%
G 130 of 228 ~ 57.02%
B 64 of 228 ~ 28.07%

%14.91
%57.02
%28.07

CMYK color model

#228240 color CMYK value is (74,0,51,49).

  • cyan value is 73.85%
  • magenta value is 0.00%
  • yellow value is 50.77%
  • key color value is 49.02%
CMYK:
(74,0,51,49)
C74M0Y51K49 
(74%,0%,51%,49%)
(0.74/0.00/0.51/0.49)	

CMYK percentages

%73.85
%0
%50.77
%49.02

Codes

Color #228240 in popluar color models

228240
RGB3413064
HSL139°58.54%32.16%
HSB/HSV139°73.85%50.98%
CMYK73.85%0.00%50.77%
49.02%

Color #228240 in popluar number systems.

HEX228240
Decimal3413064
Binary100010100000101000000
Octal42202100

Shades and tints

Shades of #228240

#228240
(34,130,64)
#1F773B
(31,119,59)
#1C6C36
(28,108,54)
#196131
(25,97,49)
#16562C
(22,86,44)
#134B27
(19,75,39)
#104022
(16,64,34)
#0D351D
(13,53,29)
#0A2A18
(10,42,24)
#071F13
(7,31,19)
#04140E
(4,20,14)
#000000
(0,0,0)

Tints of #228240

#228240
(34,130,64)
#368D51
(54,141,81)
#4A9862
(74,152,98)
#5EA373
(94,163,115)
#72AE84
(114,174,132)
#86B995
(134,185,149)
#9AC4A6
(154,196,166)
#AECFB7
(174,207,183)
#C2DAC8
(194,218,200)
#D6E5D9
(214,229,217)
#EAF0EA
(234,240,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #228240 color. Also use rgb(34,130,64) instead hex code.

Text Font Color

.myTextColor { color: #228240; }

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

This text font color is #228240.


Background Color

.myBgColor { background-color: #228240; }

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

This div background color is #228240.


Border color

.myBorderColor { border: 1px solid #228240; }

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

This div border color is #228240.


Opacity

.myOpacity80 { color: #228240; opacity: 0.8; }

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

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

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

This text has shadow with #228240 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #228240 on black background.


Color preview on white background

This text has color #228240 on white background.



Black color preview on #228240 background

This text has black color on #228240 background.


White color preview on #228240 background

This text has white color on #228240 background.