COLOR #1E7E21

HEX: #1E7E21 RGB: (30,126,33)

Color info

#1E7E21 contains mainly green color. Web safe color of #1E7E21 is #336633 (or #363).

RGB color model

#1E7E21 color RGB value is (30,126,33).

RGB: (30,126,33) (12%, 49%, 13%)

RGB channels and saturation

R 30 of 255 = 12%
G 126 of 255 = 49%
B 33 of 255 = 13%

30
126
33

R + G + B ~ 25%. #1E7E21 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 30 + 126 + 33 = 189 (100%)
R 30 of 189 ~ 15.87%
G 126 of 189 ~ 66.67%
B 33 of 189 ~ 17.46'%

%15.87
%66.67
%17.46

CMYK color model

#1E7E21 color CMYK value is (76,0,74,51).

  • cyan value is 76.19%
  • magenta value is 0.00%
  • yellow value is 73.81%
  • key color value is 50.59%

CMYK: (76,0,74,51)
C76M0Y74K51 (76%, 0%, 74%, 51%)
(0.76 / 0.00 / 0.74 / 0.51)

CMYK percentages

%76.19
%0
%73.81
%50.59

Codes

Color #1E7E21 in popluar color models

1E 7E 21
RGB 30 126 33
HSL 122° 61.54% 30.59%
HSB/HSV 122° 76.19% 49.41%
CMYK 76.19% 0.00% 73.81%
50.59%

Color #1E7E21 in popluar number systems.

HEX 1E 7E 21
Decimal 30 126 33
Binary 11110 1111110 100001
Octal 36 176 41

Shades and tints

Shades of #1E7E21

#1E7E21
(30,126,33)
#1C731E
(28,115,30)
#1A681B
(26,104,27)
#185D18
(24,93,24)
#165215
(22,82,21)
#144712
(20,71,18)
#123C0F
(18,60,15)
#10310C
(16,49,12)
#0E2609
(14,38,9)
#0C1B06
(12,27,6)
#0A1003
(10,16,3)
#000000
(0,0,0)

Tints of #1E7E21

#1E7E21
(30,126,33)
#328935
(50,137,53)
#469449
(70,148,73)
#5A9F5D
(90,159,93)
#6EAA71
(110,170,113)
#82B585
(130,181,133)
#96C099
(150,192,153)
#AACBAD
(170,203,173)
#BED6C1
(190,214,193)
#D2E1D5
(210,225,213)
#E6ECE9
(230,236,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1E7E21 color. Also use rgb(30,126,33) instead hex code.

Text Font Color

.myTextColor { color: #1E7E21; }

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

This text font color is #1E7E21.

Background Color

.myBgColor { background-color: #1E7E21; }

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

This div background color is #1E7E21.

Border color

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

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

This div border color is #1E7E21.

Opacity

.myOpacity80 { color: #1E7E21; opacity: 0.8; }

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

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

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

This text has shadow with #1E7E21 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1E7E21.

Preview

Color preview on black background

This text has color #1E7E21 on black background.


Color preview on white background

This text has color #1E7E21 on white background.


Black color preview on #1E7E21 background

This text has black color on #1E7E21 background.


White color preview on #1E7E21 background

This text has white color on #1E7E21 background.


Related colors

Complementary color

Complementary color for #hex is #E181DE.


I love getcolorcode.com

Triadic colors

1 #211E7E and #7E211E with #1E7E21 are triadic colors.

2 #217E1E and #7E1E21 with #1E7E21 are triadic colors.