COLOR #1F4C27

HEX: #1F4C27
RGB: (31,76,39)

Color info

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

RGB color model

#1F4C27 color RGB value is (31,76,39).

  • red value is 31;
  • green value is 76;
  • blue value is 39.
RGB:
(31,76,39)
(12%,30%,15%)

RGB channels and saturation

R 31 of 255 = 12%
G 76 of 255 = 30%
B 39 of 255 = 15%

31
76
39

R + G + B ~ 19%. #1F4C27 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 76 + 39 = 146 (100%)
R 31 of 146 ~ 21.23%
G 76 of 146 ~ 52.05%
B 39 of 146 ~ 26.71%

%21.23
%52.05
%26.71

CMYK color model

#1F4C27 color CMYK value is (59,0,49,70).

  • cyan value is 59.21%
  • magenta value is 0.00%
  • yellow value is 48.68%
  • key color value is 70.20%
CMYK:
(59,0,49,70)
C59M0Y49K70 
(59%,0%,49%,70%)
(0.59/0.00/0.49/0.70)	

CMYK percentages

%59.21
%0
%48.68
%70.2

Codes

Color #1F4C27 in popluar color models

1F4C27
RGB317639
HSL131°42.06%20.98%
HSB/HSV131°59.21%29.80%
CMYK59.21%0.00%48.68%
70.20%

Color #1F4C27 in popluar number systems.

HEX1F4C27
Decimal317639
Binary111111001100100111
Octal3711447

Shades and tints

Shades of #1F4C27

#1F4C27
(31,76,39)
#1D4624
(29,70,36)
#1B4021
(27,64,33)
#193A1E
(25,58,30)
#17341B
(23,52,27)
#152E18
(21,46,24)
#132815
(19,40,21)
#112212
(17,34,18)
#0F1C0F
(15,28,15)
#0D160C
(13,22,12)
#0B1009
(11,16,9)
#000000
(0,0,0)

Tints of #1F4C27

#1F4C27
(31,76,39)
#335C3A
(51,92,58)
#476C4D
(71,108,77)
#5B7C60
(91,124,96)
#6F8C73
(111,140,115)
#839C86
(131,156,134)
#97AC99
(151,172,153)
#ABBCAC
(171,188,172)
#BFCCBF
(191,204,191)
#D3DCD2
(211,220,210)
#E7ECE5
(231,236,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F4C27; }

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

This text font color is #1F4C27.


Background Color

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

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

This div background color is #1F4C27.


Border color

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

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

This div border color is #1F4C27.


Opacity

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

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

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

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

This text has shadow with #1F4C27 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F4C27 on black background.


Color preview on white background

This text has color #1F4C27 on white background.



Black color preview on #1F4C27 background

This text has black color on #1F4C27 background.


White color preview on #1F4C27 background

This text has white color on #1F4C27 background.