COLOR #1F581F

HEX: #1F581F
RGB: (31,88,31)

Color info

#1F581F contains red, green and blue colors in about the same proportion. Web safe color of #1F581F is #336633 (or #363).

RGB color model

#1F581F color RGB value is (31,88,31).

  • red value is 31;
  • green value is 88;
  • blue value is 31.
RGB:
(31,88,31)
(12%,35%,12%)

RGB channels and saturation

R 31 of 255 = 12%
G 88 of 255 = 35%
B 31 of 255 = 12%

31
88
31

R + G + B ~ 20%. #1F581F is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 88 + 31 = 150 (100%)
R 31 of 150 ~ 20.67%
G 88 of 150 ~ 58.67%
B 31 of 150 ~ 20.67%

%20.67
%58.67
%20.67

CMYK color model

#1F581F color CMYK value is (65,0,65,65).

  • cyan value is 64.77%
  • magenta value is 0.00%
  • yellow value is 64.77%
  • key color value is 65.49%
CMYK:
(65,0,65,65)
C65M0Y65K65 
(65%,0%,65%,65%)
(0.65/0.00/0.65/0.65)	

CMYK percentages

%64.77
%0
%64.77
%65.49

Codes

Color #1F581F in popluar color models

1F581F
RGB318831
HSL120°47.90%23.33%
HSB/HSV120°64.77%34.51%
CMYK64.77%0.00%64.77%
65.49%

Color #1F581F in popluar number systems.

HEX1F581F
Decimal318831
Binary11111101100011111
Octal3713037

Shades and tints

Shades of #1F581F

#1F581F
(31,88,31)
#1D501D
(29,80,29)
#1B481B
(27,72,27)
#194019
(25,64,25)
#173817
(23,56,23)
#153015
(21,48,21)
#132813
(19,40,19)
#112011
(17,32,17)
#0F180F
(15,24,15)
#0D100D
(13,16,13)
#0B080B
(11,8,11)
#000000
(0,0,0)

Tints of #1F581F

#1F581F
(31,88,31)
#336733
(51,103,51)
#477647
(71,118,71)
#5B855B
(91,133,91)
#6F946F
(111,148,111)
#83A383
(131,163,131)
#97B297
(151,178,151)
#ABC1AB
(171,193,171)
#BFD0BF
(191,208,191)
#D3DFD3
(211,223,211)
#E7EEE7
(231,238,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F581F; }

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

This text font color is #1F581F.


Background Color

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

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

This div background color is #1F581F.


Border color

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

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

This div border color is #1F581F.


Opacity

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

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

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

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

This text has shadow with #1F581F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F581F on black background.


Color preview on white background

This text has color #1F581F on white background.



Black color preview on #1F581F background

This text has black color on #1F581F background.


White color preview on #1F581F background

This text has white color on #1F581F background.