COLOR #1F431F

HEX: #1F431F
RGB: (31,67,31)

Color info

#1F431F contains red, green and blue colors in about the same proportion. Web safe color of #1F431F is #333333 (or #333).

RGB color model

#1F431F color RGB value is (31,67,31).

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

RGB channels and saturation

R 31 of 255 = 12%
G 67 of 255 = 26%
B 31 of 255 = 12%

31
67
31

R + G + B ~ 17%. #1F431F is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 67 + 31 = 129 (100%)
R 31 of 129 ~ 24.03%
G 67 of 129 ~ 51.94%
B 31 of 129 ~ 24.03%

%24.03
%51.94
%24.03

CMYK color model

#1F431F color CMYK value is (54,0,54,74).

  • cyan value is 53.73%
  • magenta value is 0.00%
  • yellow value is 53.73%
  • key color value is 73.73%
CMYK:
(54,0,54,74)
C54M0Y54K74 
(54%,0%,54%,74%)
(0.54/0.00/0.54/0.74)	

CMYK percentages

%53.73
%0
%53.73
%73.73

Codes

Color #1F431F in popluar color models

1F431F
RGB316731
HSL120°36.73%19.22%
HSB/HSV120°53.73%26.27%
CMYK53.73%0.00%53.73%
73.73%

Color #1F431F in popluar number systems.

HEX1F431F
Decimal316731
Binary11111100001111111
Octal3710337

Shades and tints

Shades of #1F431F

#1F431F
(31,67,31)
#1D3D1D
(29,61,29)
#1B371B
(27,55,27)
#193119
(25,49,25)
#172B17
(23,43,23)
#152515
(21,37,21)
#131F13
(19,31,19)
#111911
(17,25,17)
#0F130F
(15,19,15)
#0D0D0D
(13,13,13)
#0B070B
(11,7,11)
#000000
(0,0,0)

Tints of #1F431F

#1F431F
(31,67,31)
#335433
(51,84,51)
#476547
(71,101,71)
#5B765B
(91,118,91)
#6F876F
(111,135,111)
#839883
(131,152,131)
#97A997
(151,169,151)
#ABBAAB
(171,186,171)
#BFCBBF
(191,203,191)
#D3DCD3
(211,220,211)
#E7EDE7
(231,237,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F431F; }

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

This text font color is #1F431F.


Background Color

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

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

This div background color is #1F431F.


Border color

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

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

This div border color is #1F431F.


Opacity

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

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

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

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

This text has shadow with #1F431F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F431F on black background.


Color preview on white background

This text has color #1F431F on white background.



Black color preview on #1F431F background

This text has black color on #1F431F background.


White color preview on #1F431F background

This text has white color on #1F431F background.