COLOR #1F7239

HEX: #1F7239
RGB: (31,114,57)

Color info

#1F7239 contains mainly green and blue colors. Web safe color of #1F7239 is #336633 (or #363).

RGB color model

#1F7239 color RGB value is (31,114,57).

  • red value is 31;
  • green value is 114;
  • blue value is 57.
RGB:
(31,114,57)
(12%,45%,22%)

RGB channels and saturation

R 31 of 255 = 12%
G 114 of 255 = 45%
B 57 of 255 = 22%

31
114
57

R + G + B ~ 26%. #1F7239 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 114 + 57 = 202 (100%)
R 31 of 202 ~ 15.35%
G 114 of 202 ~ 56.44%
B 57 of 202 ~ 28.22%

%15.35
%56.44
%28.22

CMYK color model

#1F7239 color CMYK value is (73,0,50,55).

  • cyan value is 72.81%
  • magenta value is 0.00%
  • yellow value is 50.00%
  • key color value is 55.29%
CMYK:
(73,0,50,55)
C73M0Y50K55 
(73%,0%,50%,55%)
(0.73/0.00/0.50/0.55)	

CMYK percentages

%72.81
%0
%50
%55.29

Codes

Color #1F7239 in popluar color models

1F7239
RGB3111457
HSL139°57.24%28.43%
HSB/HSV139°72.81%44.71%
CMYK72.81%0.00%50.00%
55.29%

Color #1F7239 in popluar number systems.

HEX1F7239
Decimal3111457
Binary111111110010111001
Octal3716271

Shades and tints

Shades of #1F7239

#1F7239
(31,114,57)
#1D6834
(29,104,52)
#1B5E2F
(27,94,47)
#19542A
(25,84,42)
#174A25
(23,74,37)
#154020
(21,64,32)
#13361B
(19,54,27)
#112C16
(17,44,22)
#0F2211
(15,34,17)
#0D180C
(13,24,12)
#0B0E07
(11,14,7)
#000000
(0,0,0)

Tints of #1F7239

#1F7239
(31,114,57)
#337E4B
(51,126,75)
#478A5D
(71,138,93)
#5B966F
(91,150,111)
#6FA281
(111,162,129)
#83AE93
(131,174,147)
#97BAA5
(151,186,165)
#ABC6B7
(171,198,183)
#BFD2C9
(191,210,201)
#D3DEDB
(211,222,219)
#E7EAED
(231,234,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F7239 color. Also use rgb(31,114,57) instead hex code.

Text Font Color

.myTextColor { color: #1F7239; }

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

This text font color is #1F7239.


Background Color

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

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

This div background color is #1F7239.


Border color

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

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

This div border color is #1F7239.


Opacity

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

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

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

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

This text has shadow with #1F7239 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F7239 on black background.


Color preview on white background

This text has color #1F7239 on white background.



Black color preview on #1F7239 background

This text has black color on #1F7239 background.


White color preview on #1F7239 background

This text has white color on #1F7239 background.