COLOR #228C1D

HEX: #228C1D
RGB: (34,140,29)

Color info

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

RGB color model

#228C1D color RGB value is (34,140,29).

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

RGB channels and saturation

R 34 of 255 = 13%
G 140 of 255 = 55%
B 29 of 255 = 11%

34
140
29

R + G + B ~ 26%. #228C1D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
34 + 140 + 29 = 203 (100%)
R 34 of 203 ~ 16.75%
G 140 of 203 ~ 68.97%
B 29 of 203 ~ 14.29%

%16.75
%68.97
%14.29

CMYK color model

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

  • cyan value is 75.71%
  • magenta value is 0.00%
  • yellow value is 79.29%
  • key color value is 45.10%
CMYK:
(76,0,79,45)
C76M0Y79K45 
(76%,0%,79%,45%)
(0.76/0.00/0.79/0.45)	

CMYK percentages

%75.71
%0
%79.29
%45.1

Codes

Color #228C1D in popluar color models

228C1D
RGB3414029
HSL117°65.68%33.14%
HSB/HSV117°79.29%54.90%
CMYK75.71%0.00%79.29%
45.10%

Color #228C1D in popluar number systems.

HEX228C1D
Decimal3414029
Binary1000101000110011101
Octal4221435

Shades and tints

Shades of #228C1D

#228C1D
(34,140,29)
#1F801B
(31,128,27)
#1C7419
(28,116,25)
#196817
(25,104,23)
#165C15
(22,92,21)
#135013
(19,80,19)
#104411
(16,68,17)
#0D380F
(13,56,15)
#0A2C0D
(10,44,13)
#07200B
(7,32,11)
#041409
(4,20,9)
#000000
(0,0,0)

Tints of #228C1D

#228C1D
(34,140,29)
#369631
(54,150,49)
#4AA045
(74,160,69)
#5EAA59
(94,170,89)
#72B46D
(114,180,109)
#86BE81
(134,190,129)
#9AC895
(154,200,149)
#AED2A9
(174,210,169)
#C2DCBD
(194,220,189)
#D6E6D1
(214,230,209)
#EAF0E5
(234,240,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #228C1D; }

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

This text font color is #228C1D.


Background Color

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

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

This div background color is #228C1D.


Border color

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

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

This div border color is #228C1D.


Opacity

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

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

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

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

This text has shadow with #228C1D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #228C1D on black background.


Color preview on white background

This text has color #228C1D on white background.



Black color preview on #228C1D background

This text has black color on #228C1D background.


White color preview on #228C1D background

This text has white color on #228C1D background.