COLOR #1F7A37

HEX: #1F7A37
RGB: (31,122,55)

Color info

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

RGB color model

#1F7A37 color RGB value is (31,122,55).

  • red value is 31;
  • green value is 122;
  • blue value is 55.
RGB:
(31,122,55)
(12%,48%,22%)

RGB channels and saturation

R 31 of 255 = 12%
G 122 of 255 = 48%
B 55 of 255 = 22%

31
122
55

R + G + B ~ 27%. #1F7A37 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 122 + 55 = 208 (100%)
R 31 of 208 ~ 14.9%
G 122 of 208 ~ 58.65%
B 55 of 208 ~ 26.44%

%14.9
%58.65
%26.44

CMYK color model

#1F7A37 color CMYK value is (75,0,55,52).

  • cyan value is 74.59%
  • magenta value is 0.00%
  • yellow value is 54.92%
  • key color value is 52.16%
CMYK:
(75,0,55,52)
C75M0Y55K52 
(75%,0%,55%,52%)
(0.75/0.00/0.55/0.52)	

CMYK percentages

%74.59
%0
%54.92
%52.16

Codes

Color #1F7A37 in popluar color models

1F7A37
RGB3112255
HSL136°59.48%30.00%
HSB/HSV136°74.59%47.84%
CMYK74.59%0.00%54.92%
52.16%

Color #1F7A37 in popluar number systems.

HEX1F7A37
Decimal3112255
Binary111111111010110111
Octal3717267

Shades and tints

Shades of #1F7A37

#1F7A37
(31,122,55)
#1D6F32
(29,111,50)
#1B642D
(27,100,45)
#195928
(25,89,40)
#174E23
(23,78,35)
#15431E
(21,67,30)
#133819
(19,56,25)
#112D14
(17,45,20)
#0F220F
(15,34,15)
#0D170A
(13,23,10)
#0B0C05
(11,12,5)
#000000
(0,0,0)

Tints of #1F7A37

#1F7A37
(31,122,55)
#338649
(51,134,73)
#47925B
(71,146,91)
#5B9E6D
(91,158,109)
#6FAA7F
(111,170,127)
#83B691
(131,182,145)
#97C2A3
(151,194,163)
#ABCEB5
(171,206,181)
#BFDAC7
(191,218,199)
#D3E6D9
(211,230,217)
#E7F2EB
(231,242,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F7A37 color. Also use rgb(31,122,55) instead hex code.

Text Font Color

.myTextColor { color: #1F7A37; }

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

This text font color is #1F7A37.


Background Color

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

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

This div background color is #1F7A37.


Border color

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

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

This div border color is #1F7A37.


Opacity

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

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

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

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

This text has shadow with #1F7A37 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F7A37 on black background.


Color preview on white background

This text has color #1F7A37 on white background.



Black color preview on #1F7A37 background

This text has black color on #1F7A37 background.


White color preview on #1F7A37 background

This text has white color on #1F7A37 background.