COLOR #228B22

HEX: #228B22
RGB: (34,139,34)

Color info

Color name is ForestGreen. #228B22 contains mainly green color. Web safe color of #228B22 is #339933 (or #393).

RGB color model

#228B22 color RGB value is (34,139,34).

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

RGB channels and saturation

R 34 of 255 = 13%
G 139 of 255 = 55%
B 34 of 255 = 13%

34
139
34

R + G + B ~ 27%. #228B22 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
34 + 139 + 34 = 207 (100%)
R 34 of 207 ~ 16.43%
G 139 of 207 ~ 67.15%
B 34 of 207 ~ 16.43%

%16.43
%67.15
%16.43

CMYK color model

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

  • cyan value is 75.54%
  • magenta value is 0.00%
  • yellow value is 75.54%
  • key color value is 45.49%
CMYK:
(76,0,76,45)
C76M0Y76K45 
(76%,0%,76%,45%)
(0.76/0.00/0.76/0.45)	

CMYK percentages

%75.54
%0
%75.54
%45.49

Codes

Color #228B22 in popluar color models

228B22
RGB3413934
HSL120°60.69%33.92%
HSB/HSV120°75.54%54.51%
CMYK75.54%0.00%75.54%
45.49%

Color #228B22 in popluar number systems.

HEX228B22
Decimal3413934
Binary10001010001011100010
Octal4221342

Shades and tints

Shades of #228B22

#228B22
(34,139,34)
#1F7F1F
(31,127,31)
#1C731C
(28,115,28)
#196719
(25,103,25)
#165B16
(22,91,22)
#134F13
(19,79,19)
#104310
(16,67,16)
#0D370D
(13,55,13)
#0A2B0A
(10,43,10)
#071F07
(7,31,7)
#041304
(4,19,4)
#000000
(0,0,0)

Tints of #228B22

#228B22
(34,139,34)
#369536
(54,149,54)
#4A9F4A
(74,159,74)
#5EA95E
(94,169,94)
#72B372
(114,179,114)
#86BD86
(134,189,134)
#9AC79A
(154,199,154)
#AED1AE
(174,209,174)
#C2DBC2
(194,219,194)
#D6E5D6
(214,229,214)
#EAEFEA
(234,239,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #228B22; }

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

This text font color is #228B22.


Background Color

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

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

This div background color is #228B22.


Border color

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

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

This div border color is #228B22.


Opacity

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

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

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

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

This text has shadow with #228B22 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #228B22 on black background.


Color preview on white background

This text has color #228B22 on white background.



Black color preview on #228B22 background

This text has black color on #228B22 background.


White color preview on #228B22 background

This text has white color on #228B22 background.