COLOR #1F7D21

HEX: #1F7D21 RGB: (31,125,33)

Color info

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

RGB color model

#1F7D21 color RGB value is (31,125,33).

RGB: (31,125,33) (12%, 49%, 13%)

RGB channels and saturation

R 31 of 255 = 12%
G 125 of 255 = 49%
B 33 of 255 = 13%

31
125
33

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

Portions of RGB colors in percentages

R + G + B = 31 + 125 + 33 = 189 (100%)
R 31 of 189 ~ 16.4%
G 125 of 189 ~ 66.14%
B 33 of 189 ~ 17.46'%

%16.4
%66.14
%17.46

CMYK color model

#1F7D21 color CMYK value is (75,0,74,51).

  • cyan value is 75.20%
  • magenta value is 0.00%
  • yellow value is 73.60%
  • key color value is 50.98%

CMYK: (75,0,74,51)
C75M0Y74K51 (75%, 0%, 74%, 51%)
(0.75 / 0.00 / 0.74 / 0.51)

CMYK percentages

%75.2
%0
%73.6
%50.98

Codes

Color #1F7D21 in popluar color models

1F 7D 21
RGB 31 125 33
HSL 121° 60.26% 30.59%
HSB/HSV 121° 75.20% 49.02%
CMYK 75.20% 0.00% 73.60%
50.98%

Color #1F7D21 in popluar number systems.

HEX 1F 7D 21
Decimal 31 125 33
Binary 11111 1111101 100001
Octal 37 175 41

Shades and tints

Shades of #1F7D21

#1F7D21
(31,125,33)
#1D721E
(29,114,30)
#1B671B
(27,103,27)
#195C18
(25,92,24)
#175115
(23,81,21)
#154612
(21,70,18)
#133B0F
(19,59,15)
#11300C
(17,48,12)
#0F2509
(15,37,9)
#0D1A06
(13,26,6)
#0B0F03
(11,15,3)
#000000
(0,0,0)

Tints of #1F7D21

#1F7D21
(31,125,33)
#338835
(51,136,53)
#479349
(71,147,73)
#5B9E5D
(91,158,93)
#6FA971
(111,169,113)
#83B485
(131,180,133)
#97BF99
(151,191,153)
#ABCAAD
(171,202,173)
#BFD5C1
(191,213,193)
#D3E0D5
(211,224,213)
#E7EBE9
(231,235,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F7D21 color. Also use rgb(31,125,33) instead hex code.

Text Font Color

.myTextColor { color: #1F7D21; }

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

This text font color is #1F7D21.

Background Color

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

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

This div background color is #1F7D21.

Border color

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

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

This div border color is #1F7D21.

Opacity

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

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

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

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

This text has shadow with #1F7D21 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F7D21.

Preview

Color preview on black background

This text has color #1F7D21 on black background.


Color preview on white background

This text has color #1F7D21 on white background.


Black color preview on #1F7D21 background

This text has black color on #1F7D21 background.


White color preview on #1F7D21 background

This text has white color on #1F7D21 background.


Related colors

Complementary color

Complementary color for #hex is #E082DE.


I love getcolorcode.com

Triadic colors

1 #211F7D and #7D211F with #1F7D21 are triadic colors.

2 #217D1F and #7D1F21 with #1F7D21 are triadic colors.