COLOR #1F372A

HEX: #1F372A
RGB: (31,55,42)

Color info

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

RGB color model

#1F372A color RGB value is (31,55,42).

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

RGB channels and saturation

R 31 of 255 = 12%
G 55 of 255 = 22%
B 42 of 255 = 16%

31
55
42

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

Portions of RGB colors in percentages

R + G + B =
31 + 55 + 42 = 128 (100%)
R 31 of 128 ~ 24.22%
G 55 of 128 ~ 42.97%
B 42 of 128 ~ 32.81%

%24.22
%42.97
%32.81

CMYK color model

#1F372A color CMYK value is (44,0,24,78).

  • cyan value is 43.64%
  • magenta value is 0.00%
  • yellow value is 23.64%
  • key color value is 78.43%
CMYK:
(44,0,24,78)
C44M0Y24K78 
(44%,0%,24%,78%)
(0.44/0.00/0.24/0.78)	

CMYK percentages

%43.64
%0
%23.64
%78.43

Codes

Color #1F372A in popluar color models

1F372A
RGB315542
HSL148°27.91%16.86%
HSB/HSV148°43.64%21.57%
CMYK43.64%0.00%23.64%
78.43%

Color #1F372A in popluar number systems.

HEX1F372A
Decimal315542
Binary11111110111101010
Octal376752

Shades and tints

Shades of #1F372A

#1F372A
(31,55,42)
#1D3227
(29,50,39)
#1B2D24
(27,45,36)
#192821
(25,40,33)
#17231E
(23,35,30)
#151E1B
(21,30,27)
#131918
(19,25,24)
#111415
(17,20,21)
#0F0F12
(15,15,18)
#0D0A0F
(13,10,15)
#0B050C
(11,5,12)
#000000
(0,0,0)

Tints of #1F372A

#1F372A
(31,55,42)
#33493D
(51,73,61)
#475B50
(71,91,80)
#5B6D63
(91,109,99)
#6F7F76
(111,127,118)
#839189
(131,145,137)
#97A39C
(151,163,156)
#ABB5AF
(171,181,175)
#BFC7C2
(191,199,194)
#D3D9D5
(211,217,213)
#E7EBE8
(231,235,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F372A; }

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

This text font color is #1F372A.


Background Color

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

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

This div background color is #1F372A.


Border color

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

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

This div border color is #1F372A.


Opacity

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

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

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

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

This text has shadow with #1F372A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F372A on black background.


Color preview on white background

This text has color #1F372A on white background.



Black color preview on #1F372A background

This text has black color on #1F372A background.


White color preview on #1F372A background

This text has white color on #1F372A background.