COLOR #228D40

HEX: #228D40
RGB: (34,141,64)

Color info

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

RGB color model

#228D40 color RGB value is (34,141,64).

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

RGB channels and saturation

R 34 of 255 = 13%
G 141 of 255 = 55%
B 64 of 255 = 25%

34
141
64

R + G + B ~ 31%. #228D40 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
34 + 141 + 64 = 239 (100%)
R 34 of 239 ~ 14.23%
G 141 of 239 ~ 59%
B 64 of 239 ~ 26.78%

%14.23
%59
%26.78

CMYK color model

#228D40 color CMYK value is (76,0,55,45).

  • cyan value is 75.89%
  • magenta value is 0.00%
  • yellow value is 54.61%
  • key color value is 44.71%
CMYK:
(76,0,55,45)
C76M0Y55K45 
(76%,0%,55%,45%)
(0.76/0.00/0.55/0.45)	

CMYK percentages

%75.89
%0
%54.61
%44.71

Codes

Color #228D40 in popluar color models

228D40
RGB3414164
HSL137°61.14%34.31%
HSB/HSV137°75.89%55.29%
CMYK75.89%0.00%54.61%
44.71%

Color #228D40 in popluar number systems.

HEX228D40
Decimal3414164
Binary100010100011011000000
Octal42215100

Shades and tints

Shades of #228D40

#228D40
(34,141,64)
#1F813B
(31,129,59)
#1C7536
(28,117,54)
#196931
(25,105,49)
#165D2C
(22,93,44)
#135127
(19,81,39)
#104522
(16,69,34)
#0D391D
(13,57,29)
#0A2D18
(10,45,24)
#072113
(7,33,19)
#04150E
(4,21,14)
#000000
(0,0,0)

Tints of #228D40

#228D40
(34,141,64)
#369751
(54,151,81)
#4AA162
(74,161,98)
#5EAB73
(94,171,115)
#72B584
(114,181,132)
#86BF95
(134,191,149)
#9AC9A6
(154,201,166)
#AED3B7
(174,211,183)
#C2DDC8
(194,221,200)
#D6E7D9
(214,231,217)
#EAF1EA
(234,241,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #228D40; }

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

This text font color is #228D40.


Background Color

.myBgColor { background-color: #228D40; }

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

This div background color is #228D40.


Border color

.myBorderColor { border: 1px solid #228D40; }

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

This div border color is #228D40.


Opacity

.myOpacity80 { color: #228D40; opacity: 0.8; }

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

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

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

This text has shadow with #228D40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #228D40 on black background.


Color preview on white background

This text has color #228D40 on white background.



Black color preview on #228D40 background

This text has black color on #228D40 background.


White color preview on #228D40 background

This text has white color on #228D40 background.